DeclarationsListener
class DeclarationsListener extends AbstractPluginBlockElementListener
Class DeclarationsListener is injected as declarations.event.listener service. DeclarationsListener 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
Details
in AbstractPluginBlockElementListener at line 23
final EventWithResult
getBlockListenerParams(EventWithResult $event)
at line 39
protected array
getParams()
Returns array ['class' => 'SomeClass:class, 'listener' => SomeBlockElementsListener::class]
at line 52
protected mixed
getManager()
Return manager that will be used in AbstractBlockElementListener