class UserEvent extends Event

Events to be dispatched throughout the lifecycle of User Forms

Constants

API_USER_AUTHENTICATE

Used to dispatch event API "authenticate"

API_USER_CREATED

Used to dispatch event API "created"

API_USER_DELETE

Used to dispatch event API "delete"

API_USER_EXPORT

Used to dispatch event API "export"

API_USER_MODIFY

Used to dispatch event API "modify"

USER_DELETE

Used to dispatch event "delete"

USER_MODIFY

Used to dispatch event "modify"

USER_SIGNEDUP

Used to dispatch event "signedup"

USER_SIGNIN

Used to dispatch event "signin"

USER_SIGNUP

Used to dispatch event "signup"

USER_SIGNUP_CONFIRM

Used to dispatch event "signup.confirm"

Properties

protected $user Stores User
protected Request $request Stores Request
protected Response $response Stores Response

Methods

__construct($user, Request $request, Response $response = null)

No description

getUser()

Gets User

Request|null
getRequest()

Gets Request

Response|null
getResponse()

Gets Response

Request
setResponse(Response|null $response)

Sets Response

Details

at line 96
__construct($user, Request $request, Response $response = null)

Parameters

$user
Request $request
Response $response

at line 107
UserLight getUser()

Gets User

Return Value

UserLight

at line 116
Request|null getRequest()

Gets Request

Return Value

Request|null

at line 125
Response|null getResponse()

Gets Response

Return Value

Response|null

at line 134
Request setResponse(Response|null $response)

Sets Response

Parameters

Response|null $response

Return Value

Request