class NormalizationBuilder
This class builds normalization conditions.
protected | $node | ||
$before | |||
$remappings |
__construct(NodeDefinition $node) | ||
$this | remap(string $key, string $plural = null) Registers a key to remap to its plural form. | |
ExprBuilder|$this | before(Closure $closure = null) Registers a closure to run before the normalization or an expression builder to build it if null is provided. |
NodeDefinition | $node |
Registers a key to remap to its plural form.
string | $key | The key to remap |
string | $plural | The plural of the key in case of irregular plural |
$this |
Registers a closure to run before the normalization or an expression builder to build it if null is provided.
Closure | $closure |
ExprBuilder|$this |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Config/Definition/Builder/NormalizationBuilder.html