Copied!

ResolveGuidelinesEvent

ResolveGuidelinesEvent.php : 14
Final
Extends Event

Event is the base class for classes containing event data.

This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.

You can call the method stopPropagation() to abort the execution of further listeners in your event listener.

Methods

public__construct()

ResolveGuidelinesEvent.php : 19
public __construct(string $actionTypeIdentifier, string $actionHandlerIdentifier, string|null $languageCode)

Parameters

Name Type Default value Description
$actionTypeIdentifier string - -
$actionHandlerIdentifier string - -
$languageCode string|null - -

publicgetActionHandlerIdentifier()

ResolveGuidelinesEvent.php : 30
public getActionHandlerIdentifier() : string

Return values

string

publicgetActionTypeIdentifier()

ResolveGuidelinesEvent.php : 25
public getActionTypeIdentifier() : string

Return values

string

publicgetGuidelines()

ResolveGuidelinesEvent.php : 43
public getGuidelines() : array<int, Guideline>

Return values

array<int, Guideline>

publicgetLanguageCode()

ResolveGuidelinesEvent.php : 35
public getLanguageCode() : string|null

Return values

string|null

publichasGuideline()

ResolveGuidelinesEvent.php : 58
public hasGuideline(string $identifier) : bool

Parameters

Name Type Default value Description
$identifier string - -

Return values

bool

publicisPropagationStopped()

Event.php : 35
public isPropagationStopped() : bool

Return values

bool

publicremoveGuideline()

ResolveGuidelinesEvent.php : 53
public removeGuideline(string $identifier) : void

Parameters

Name Type Default value Description
$identifier string - -

publicsetGuideline()

ResolveGuidelinesEvent.php : 48
public setGuideline(Guideline $guideline) : void

Parameters

Name Type Default value Description
$guideline Guideline - -

publicstopPropagation()

Event.php : 47

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().