PHP Class UserRegistrationEvent

Inheritance: extends yupe\components\Event
Afficher le fichier Open project: yupe/yupe Class Usage Examples

Protected Properties

Свойство Type Description
$form RegistrationForm
$token
$user User

Méthodes publiques

Méthode Description
__construct ( RegistrationForm $form, User $user, UserToken $token = null ) UserRegistrationEvent constructor.
getForm ( ) : RegistrationForm
getToken ( ) : mixed
getUser ( ) : User
setForm ( RegistrationForm $form )
setToken ( mixed $token )
setUser ( User $user )

Method Details

__construct() public méthode

UserRegistrationEvent constructor.
public __construct ( RegistrationForm $form, User $user, UserToken $token = null )
$form RegistrationForm
$user User
$token UserToken

getForm() public méthode

public getForm ( ) : RegistrationForm
Résultat RegistrationForm

getToken() public méthode

public getToken ( ) : mixed
Résultat mixed

getUser() public méthode

public getUser ( ) : User
Résultat User

setForm() public méthode

public setForm ( RegistrationForm $form )
$form RegistrationForm

setToken() public méthode

public setToken ( mixed $token )
$token mixed

setUser() public méthode

public setUser ( User $user )
$user User

Property Details

$form protected_oe property

protected RegistrationForm $form
Résultat RegistrationForm

$token protected_oe property

protected $token

$user protected_oe property

protected User $user
Résultat User