Copied!

BeforeTranslateEvent

BeforeTranslateEvent.php : 15
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeTranslateEvent.php : 22
public __construct(mixed $url)

Parameters

Name Type Default value Description
$url mixed - -

publicgetResult()

BeforeTranslateEvent.php : 32
public getResult() : URLWildcardTranslationResult

Return values

URLWildcardTranslationResult

publicgetUrl()

BeforeTranslateEvent.php : 27
public getUrl() : mixed

publichasResult()

BeforeTranslateEvent.php : 46
public hasResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetResult()

BeforeTranslateEvent.php : 41
public setResult(URLWildcardTranslationResult|null $result) : void

Parameters

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