Copied!

GetTokenEvent

GetTokenEvent.php : 14
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

GetTokenEvent.php : 24
public __construct(Token $result, string $tokenType, string $token[, string|null $identifier = null ])

Parameters

Name Type Default value Description
$result Token - -
$tokenType string - -
$token string - -
$identifier string|null null -

publicgetIdentifier()

GetTokenEvent.php : 51
public getIdentifier() : string|null

Return values

string|null

publicgetResult()

GetTokenEvent.php : 36
public getResult() : Token

Return values

Token

publicgetToken()

GetTokenEvent.php : 46
public getToken() : string

Return values

string

publicgetTokenType()

GetTokenEvent.php : 41
public getTokenType() : string

Return values

string

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().