concrete/src/User/Event/DeactivateUser.php
public static function create(UserEntity $userEntity, UserEntity $actorEntity = null, DateTime $dateCreated = null)
    {
        return new self($userEntity, $actorEntity, $dateCreated);
    }
public static function create(UserEntity $userEntity, UserEntity $actorEntity = null, DateTime $dateCreated = null)
    {
        return new self($userEntity, $actorEntity, $dateCreated);
    }
public static function create ( UserEntity $ userEntity , UserEntity $ actorEntity = null , DateTime $ dateCreated = null ) { return new self ( $ userEntity , $ actorEntity , $ dateCreated ) ; }
Factory method for creating new User event objects

@param \Concrete\Core\Entity\User\User $userEntity The user being deactivated
@param \Concrete\Core\Entity\User\User|null $actorEntity The user running the deactivate action
@param \DateTime|null $dateCreated

@return \Concrete\Core\User\Event\DeactivateUser
Factory method for creating new User event objects