Event emitted before action execution.
Methods¶
__construct()
¶
BeforeCreateEvent.php
:
25
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $sourceUrl | string | - | - |
| $destinationUrl | string | - | - |
| $forward | bool | - | - |
getDestinationUrl()
¶
BeforeCreateEvent.php
:
40
|
|
|
Return values
string
getForward()
¶
BeforeCreateEvent.php
:
45
|
|
|
Return values
bool
getSourceUrl()
¶
BeforeCreateEvent.php
:
35
|
|
|
Return values
string
getUrlWildcard()
¶
BeforeCreateEvent.php
:
50
|
|
|
Return values
hasUrlWildcard()
¶
BeforeCreateEvent.php
:
64
|
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
35
|
|
|
Return values
bool
setUrlWildcard()
¶
BeforeCreateEvent.php
:
59
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $urlWildcard | URLWildcard|null | - | - |
stopPropagation()
¶
Event.php
:
47
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().