PHP Class UserRegistrationEvent

Inheritance: extends yupe\components\Event
Mostra file Open project: yupe/yupe Class Usage Examples

Protected Properties

Property Type Description
$form RegistrationForm
$token
$user User

Public Methods

Method 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 method

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

getForm() public method

public getForm ( ) : RegistrationForm
return RegistrationForm

getToken() public method

public getToken ( ) : mixed
return mixed

getUser() public method

public getUser ( ) : User
return User

setForm() public method

public setForm ( RegistrationForm $form )
$form RegistrationForm

setToken() public method

public setToken ( mixed $token )
$token mixed

setUser() public method

public setUser ( User $user )
$user User

Property Details

$form protected_oe property

protected RegistrationForm $form
return RegistrationForm

$token protected_oe property

protected $token

$user protected_oe property

protected User $user
return User