DeactivateUser
class DeactivateUser extends UserInfo implements SubjectInterface (View source)
Properties
protected | $ui | from UserInfo | |
protected User | $applier | from UserInfo | |
protected DateTime | $created | The datetime this event was created |
|
protected User|null | $user | The user that is running the deactivate operation |
|
protected User|null | $actor | The user that is running the deactivate operation |
Methods
No description
Get the date of this notification
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.
Get the user that is being deactivated
Get the user that is running the deactivation
Details
User
getApplier()
No description
setApplier(User $applier)
No description
getUserInfoObject()
No description
DateTime
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.
User
getUserEntity()
Get the user that is being deactivated
User|null
getActorEntity()
Get the user that is running the deactivation
static DeactivateUser
create(User $userEntity, User $actorEntity = null, DateTime $dateCreated = null)
Factory method for creating new User event objects