Documentation

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

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
$this

setNoPreloadEvents()

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

getEventFromTypeDeclaration()

private getEventFromTypeDeclaration(ContainerBuilder $container, string $id, string $method) : string
Parameters
$container : ContainerBuilder
$id : string
$method : string
Return values
string

        
On this page

Search results