Documentation

RegisterLocaleAwareServicesPass
in package
implements CompilerPassInterface

Register all services that have the "kernel.locale_aware" tag into the listener.

Tags
author

Pierre Bobiet pierrebobiet@gmail.com

Interfaces, Classes and Traits

CompilerPassInterface
Interface that must be implemented by compilation passes.

Table of Contents

$listenerServiceId  : mixed
$localeAwareTag  : mixed
__construct()  : mixed
process()  : mixed
You can modify the container here before it is dumped to PHP code.

Properties

Methods

__construct()

public __construct([string $listenerServiceId = 'locale_aware_listener' ][, string $localeAwareTag = 'kernel.locale_aware' ]) : mixed
Parameters
$listenerServiceId : string = 'locale_aware_listener'
$localeAwareTag : string = 'kernel.locale_aware'
Return values
mixed

Search results