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
DeactivateUser constructor.
Pass through calls for the user info object to the associated user info object
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
        
                            
    __construct(User $user, User $actorEntity = null, DateTime $dateCreated = null)
        
    
    DeactivateUser constructor.
        
                            User
    getApplier()
        
    
    No description
        
                            
    setApplier(User $applier)
        
    
    No description
        
                            
    getUserInfoObject()
        
    
    Pass through calls for the user info object to the associated user info object
        
                            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