Copied!

BeforeGetTokenEvent

BeforeGetTokenEvent.php : 15
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeGetTokenEvent.php : 25
public __construct(string $tokenType, string $token[, string|null $identifier = null ])

Parameters

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

publicgetIdentifier()

BeforeGetTokenEvent.php : 67
public getIdentifier() : string|null

Return values

string|null

publicgetResult()

BeforeGetTokenEvent.php : 35
public getResult() : Token

Return values

Token

publicgetToken()

BeforeGetTokenEvent.php : 62
public getToken() : string

Return values

string

publicgetTokenType()

BeforeGetTokenEvent.php : 57
public getTokenType() : string

Return values

string

publichasResult()

BeforeGetTokenEvent.php : 52
public hasResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetResult()

BeforeGetTokenEvent.php : 47
public setResult(Token|null $result) : void

Parameters

Name Type Default value Description
$result Token|null - -

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().