class AttributeValueListener extends AbstractPluginBlockElementListener

Class AttributeValueListener is injected as alligator.attribute_value.listener service. AttributeValueListener is listener class for handling a logic for dispatched events

Methods

array
getParams()

Returns array ['class' => 'SomeClass:class, 'listener' => SomeBlockElementsListener::class]

mixed
getManager()

Return manager that will be used in AbstractBlockElementListener

__construct(AttributeValueManager $manager)

AttributeValueListener constructor.

Details

final EventWithResult getBlockListenerParams(EventWithResult $event)

Parameters

EventWithResult $event

Return Value

EventWithResult

at line 42
protected array getParams()

Returns array ['class' => 'SomeClass:class, 'listener' => SomeBlockElementsListener::class]

Return Value

array

at line 55
protected mixed getManager()

Return manager that will be used in AbstractBlockElementListener

Return Value

mixed

at line 32
__construct(AttributeValueManager $manager)

AttributeValueListener constructor.

Parameters

AttributeValueManager $manager