RegisterListenersPass
in package
implements
CompilerPassInterface
Compiler pass to register tagged services for an event dispatcher.
Table of Contents
Interfaces
- CompilerPassInterface
Properties
- $hotPathEvents : array<string|int, mixed>
- $noPreloadEvents : array<string|int, mixed>
Methods
- process() : void
- setHotPathEvents() : $this
- setNoPreloadEvents() : $this
- getEventFromTypeDeclaration() : string
Properties
$hotPathEvents
private
array<string|int, mixed>
$hotPathEvents
= []
$noPreloadEvents
private
array<string|int, mixed>
$noPreloadEvents
= []
Methods
process()
public
process(ContainerBuilder $container) : void
Parameters
- $container : ContainerBuilder
setHotPathEvents()
public
setHotPathEvents(array<string|int, mixed> $hotPathEvents) : $this
Parameters
- $hotPathEvents : array<string|int, mixed>
Return values
$thissetNoPreloadEvents()
public
setNoPreloadEvents(array<string|int, mixed> $noPreloadEvents) : $this
Parameters
- $noPreloadEvents : array<string|int, mixed>
Return values
$thisgetEventFromTypeDeclaration()
private
getEventFromTypeDeclaration(ContainerBuilder $container, string $id, string $method) : string
Parameters
- $container : ContainerBuilder
- $id : string
- $method : string