Event emitted before action execution.
Methods¶
__construct()
¶
BeforeCreateEvent.php
:
26
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $sourceUrl | mixed | - | - |
| $destinationUrl | mixed | - | - |
| $forward | mixed | - | - |
getDestinationUrl()
¶
BeforeCreateEvent.php
:
41
|
|
|
getForward()
¶
BeforeCreateEvent.php
:
46
|
|
|
getSourceUrl()
¶
BeforeCreateEvent.php
:
36
|
|
|
getUrlWildcard()
¶
BeforeCreateEvent.php
:
51
|
|
|
Return values
hasUrlWildcard()
¶
BeforeCreateEvent.php
:
65
|
|
|
Return values
bool
isPropagationStopped()
¶
Event.php
:
38
|
|
|
Return values
bool
setUrlWildcard()
¶
BeforeCreateEvent.php
:
60
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $urlWildcard | URLWildcard|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().