Copied!

BeforeCreateEvent

BeforeCreateEvent.php : 15
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeCreateEvent.php : 26
public __construct(mixed $sourceUrl, mixed $destinationUrl, mixed $forward)

Parameters

Name Type Default value Description
$sourceUrl mixed - -
$destinationUrl mixed - -
$forward mixed - -

publicgetDestinationUrl()

BeforeCreateEvent.php : 38
public getDestinationUrl() : mixed

publicgetForward()

BeforeCreateEvent.php : 43
public getForward() : mixed

publicgetSourceUrl()

BeforeCreateEvent.php : 33
public getSourceUrl() : mixed

publicgetUrlWildcard()

BeforeCreateEvent.php : 48
public getUrlWildcard() : URLWildcard

Return values

URLWildcard

publichasUrlWildcard()

BeforeCreateEvent.php : 62
public hasUrlWildcard() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetUrlWildcard()

BeforeCreateEvent.php : 57
public setUrlWildcard(URLWildcard|null $urlWildcard) : void

Parameters

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