class GroupRoleChange implements SubjectInterface (View source)

Properties

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

Methods

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

No description

Group|null
getGroup()

No description

GroupRole|false
getRole()

No description

int
getGID()

No description

setGID(int $gID)

No description

int
getGrID()

No description

setGrID(int $grID)

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|null $user = null, GroupRole|null $role = null)

No description

Parameters

Group|null $group
User|null $user
GroupRole|null $role

Group|null getGroup()

No description

Return Value

Group|null

GroupRole|false getRole()

No description

Return Value

GroupRole|false

int getGID()

No description

Return Value

int

GroupRoleChange setGID(int $gID)

No description

Parameters

int $gID

Return Value

GroupRoleChange

int getGrID()

No description

Return Value

int

GroupRoleChange setGrID(int $grID)

No description

Parameters

int $grID

Return Value

GroupRoleChange

User|null getUser()

No description

Return Value

User|null

GroupRoleChange setUser(User $user)

No description

Parameters

User $user

Return Value

GroupRoleChange

DateTime getRequested()

No description

Return Value

DateTime

GroupRoleChange setRequested(DateTime $requested)

No description

Parameters

DateTime $requested

Return Value

GroupRoleChange

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