AddEventAliasesPass
in package
implements
CompilerPassInterface
This pass allows bundles to extend the list of event aliases.
Tags
Interfaces, Classes and Traits
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Table of Contents
- $eventAliases : mixed
- $eventAliasesParameter : mixed
- __construct() : mixed
- process() : void
- You can modify the container here before it is dumped to PHP code.
Properties
$eventAliases
private
mixed
$eventAliases
$eventAliasesParameter
private
mixed
$eventAliasesParameter
Methods
__construct()
public
__construct(array<string|int, mixed> $eventAliases[, string $eventAliasesParameter = 'event_dispatcher.event_aliases' ]) : mixed
Parameters
- $eventAliases : array<string|int, mixed>
- $eventAliasesParameter : string = 'event_dispatcher.event_aliases'
Return values
mixed —process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : void
Parameters
- $container : ContainerBuilder