Copied!

BeforeUpdateUrlEvent

BeforeUpdateUrlEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateUrlEvent.php : 27
public __construct(URL $url, URLUpdateStruct $struct)

Parameters

Name Type Default value Description
$url URL - -
$struct URLUpdateStruct - -

publicgetStruct()

BeforeUpdateUrlEvent.php : 38
public getStruct() : URLUpdateStruct

Return values

URLUpdateStruct

publicgetUpdatedUrl()

BeforeUpdateUrlEvent.php : 43
public getUpdatedUrl() : URL

Return values

URL

publicgetUrl()

BeforeUpdateUrlEvent.php : 33
public getUrl() : URL

Return values

URL

publichasUpdatedUrl()

BeforeUpdateUrlEvent.php : 57
public hasUpdatedUrl() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetUpdatedUrl()

BeforeUpdateUrlEvent.php : 52
public setUpdatedUrl(URL|null $updatedUrl) : void

Parameters

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