Documentation

RegisterListenersPass
in package
implements CompilerPassInterface

Compiler pass to register tagged services for an event dispatcher.

Table of Contents

Interfaces

CompilerPassInterface
Interface that must be implemented by compilation passes.

Properties

$hotPathEvents  : array<string|int, mixed>
$noPreloadEvents  : array<string|int, mixed>

Methods

process()  : void
You can modify the container here before it is dumped to PHP code.
setHotPathEvents()  : $this
setNoPreloadEvents()  : $this
getEventFromTypeDeclaration()  : string

Properties

Methods

setHotPathEvents()

public setHotPathEvents(array<string|int, mixed> $hotPathEvents) : $this
Parameters
$hotPathEvents : array<string|int, mixed>
Return values
$this

setNoPreloadEvents()

public setNoPreloadEvents(array<string|int, mixed> $noPreloadEvents) : $this
Parameters
$noPreloadEvents : array<string|int, mixed>
Return values
$this

        
On this page

Search results