Event emitted before action execution.
Methods¶
__construct()
¶
BeforeGenerateTokenEvent.php
:
30
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$type | string | - | - |
$ttl | int | - | - |
$identifier | string|null | null | - |
$tokenLength | int | 64 | - |
$tokenGenerator | TokenGeneratorInterface|null | null | - |
getIdentifier()
¶
BeforeGenerateTokenEvent.php
:
71
|
|
Return values
string|null
getToken()
¶
BeforeGenerateTokenEvent.php
:
44
|
|
Return values
getTokenGenerator()
¶
BeforeGenerateTokenEvent.php
:
86
|
|
Return values
getTokenLength()
¶
BeforeGenerateTokenEvent.php
:
81
|
|
Return values
int
getTokenType()
¶
BeforeGenerateTokenEvent.php
:
66
|
|
Return values
string
getTtl()
¶
BeforeGenerateTokenEvent.php
:
76
|
|
Return values
int
hasToken()
¶
BeforeGenerateTokenEvent.php
:
61
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
Return values
bool
setToken()
¶
BeforeGenerateTokenEvent.php
:
56
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$token | Token|null | - | - |
stopPropagation()
¶
Event.php
:
50
Stops the propagation of the event to further event listeners.
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().