Copied!

BeforeUpdateUrlEvent

BeforeUpdateUrlEvent.php : 16
Final
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

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

Parameters

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

publicgetStruct()

BeforeUpdateUrlEvent.php : 35
public getStruct() : URLUpdateStruct

Return values

URLUpdateStruct

publicgetUpdatedUrl()

BeforeUpdateUrlEvent.php : 40
public getUpdatedUrl() : URL

Return values

URL

publicgetUrl()

BeforeUpdateUrlEvent.php : 30
public getUrl() : URL

Return values

URL

publichasUpdatedUrl()

BeforeUpdateUrlEvent.php : 54
public hasUpdatedUrl() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetUpdatedUrl()

BeforeUpdateUrlEvent.php : 49
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().