class NormalizationBuilder
This class builds normalization conditions.
Properties
$before | |||
$remappings |
Methods
__construct(NodeDefinition $node) Constructor. | ||
NormalizationBuilder | remap(string $key, string $plural = null) Registers a key to remap to its plural form. | |
ExprBuilder|NormalizationBuilder | before(Closure $closure = null) Registers a closure to run before the normalization or an expression builder to build it if null is provided. |
Details
__construct(NodeDefinition $node)
Constructor.
NormalizationBuilder remap(string $key, string $plural = null)
Registers a key to remap to its plural form.
ExprBuilder|NormalizationBuilder before(Closure $closure = null)
Registers a closure to run before the normalization or an expression builder to build it if null is provided.
Please login to continue.