Properties

$subscriptions

$subscriptions : \Pivot\Common\Entities\Collection|\Pivot\Common\Entities\Subscriptions

Type

\Pivot\Common\Entities\Collection|\Pivot\Common\Entities\Subscriptions

$id

$id : integer

Type

integer

$title

$title : string

Type

string

$message

$message : string

Type

string

$dateCreated

$dateCreated : \DateTime

Type

\DateTime

$allFlag

$allFlag : boolean

Type

boolean

$level

$level : string

Type

string

$expiration

$expiration : \DateTime

Type

\DateTime

Methods

__construct()

__construct() 

getId()

getId() : integer

Get the value of Id

Returns

integer

getDateCreated()

getDateCreated() : \DateTime

Get the value of Date Created

Returns

\DateTime

getAllFlag()

getAllFlag() : boolean

Get the value of allSubscriptions

Returns

boolean

setAllFlag()

setAllFlag(  $flag) : self

Set the value of Title

Parameters

$flag

Returns

self

getTitle()

getTitle() : string

Get the value of Title

Returns

string

setTitle()

setTitle(  $title) : self

Set the value of Title

Parameters

$title

Returns

self

getMessage()

getMessage() : string

Get the value of Message

Returns

string

setMessage()

setMessage(  $message) : self

Set the value of Message

Parameters

$message

Returns

self

getLevel()

getLevel() : string

Get the value of Level

Returns

string

setLevel()

setLevel(  $level) : self

Set the value of Level

Parameters

$level

Returns

self

getExpiration()

getExpiration() : \DateTime

Get the value of Expiration

Returns

\DateTime

setExpiration()

setExpiration(  $expiration) : self

Set the value of Expiration

Parameters

$expiration

Returns

self

getSubscriptions()

getSubscriptions() : \Pivot\Common\Entities\Collection|\Pivot\Common\Entities\Subscriptions

Get the value of Subscriptions

Returns

\Pivot\Common\Entities\Collection|\Pivot\Common\Entities\Subscriptions

setSubscriptions()

setSubscriptions(  $subscriptions) : self

Set the value of Subscriptions

Parameters

$subscriptions

Returns

self

addSubscription()

addSubscription(  $subscription) : \Pivot\Common\Entities\this

Parameters

$subscription

Returns

\Pivot\Common\Entities\this

removeSubscription()

removeSubscription(  $subscription) : \Pivot\Common\Entities\this

Parameters

$subscription

Returns

\Pivot\Common\Entities\this