Copied!

BeforeCheckTokenEvent

BeforeCheckTokenEvent.php : 14
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCheckTokenEvent.php : 24
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()

BeforeCheckTokenEvent.php : 66
public getIdentifier() : string|null

Return values

string|null

publicgetResult()

BeforeCheckTokenEvent.php : 34
public getResult() : bool

Return values

bool

publicgetToken()

BeforeCheckTokenEvent.php : 61
public getToken() : string

Return values

string

publicgetTokenType()

BeforeCheckTokenEvent.php : 56
public getTokenType() : string

Return values

string

publichasResult()

BeforeCheckTokenEvent.php : 51
public hasResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetResult()

BeforeCheckTokenEvent.php : 46
public setResult(bool|null $result) : void

Parameters

Name Type Default value Description
$result bool|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().