class GroupSignupRequest implements SubjectInterface (View source)

Properties

protected int|null $id
protected Collection $notifications
protected int $gID
protected User|null $user
protected DateTime $requested

Methods

__construct(Group|null $group = null, User $user = null)

No description

Group|null
getGroup()

No description

int|null
getId()

No description

setId(int|null $id)

No description

int
getGID()

No description

setGID(int $gID)

No description

User|null
getUser()

No description

setUser(User $user)

No description

getRequested()

No description

setRequested(DateTime $requested)

No description

getNotificationDate()

Get the date of this notification.

User[]
getUsersToExcludeFromNotification()

Get the users that should be excluded from notifications Expected return value would be users involved in the creation of the notification, they may not need to be notified.

Collection
getNotifications()

No description

Details

__construct(Group|null $group = null, User $user = null)

No description

Parameters

Group|null $group
User $user

Group|null getGroup()

No description

Return Value

Group|null

int|null getId()

No description

Return Value

int|null

return NULL if not yet flushed to the database

GroupSignupRequest setId(int|null $id)

No description

Parameters

int|null $id

Return Value

GroupSignupRequest

int getGID()

No description

Return Value

int

GroupSignupRequest setGID(int $gID)

No description

Parameters

int $gID

Return Value

GroupSignupRequest

User|null getUser()

No description

Return Value

User|null

GroupSignupRequest setUser(User $user)

No description

Parameters

User $user

Return Value

GroupSignupRequest

DateTime getRequested()

No description

Return Value

DateTime

GroupSignupRequest setRequested(DateTime $requested)

No description

Parameters

DateTime $requested

Return Value

GroupSignupRequest

DateTime getNotificationDate()

Get the date of this notification.

Return Value

DateTime

User[] getUsersToExcludeFromNotification()

Get the users that should be excluded from notifications Expected return value would be users involved in the creation of the notification, they may not need to be notified.

Return Value

User[]

Collection getNotifications()

No description

Return Value

Collection