DefinitionNormalizer
in package
Turns raw definitions/definition helpers into definitions ready to be resolved or compiled.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- normalizeNestedDefinition() : mixed
- Normalize a definition that is nested in another one.
- normalizeRootDefinition() : Definition
- Normalize a definition that is *not* nested in another one.
Properties
$autowiring
private
Autowiring
$autowiring
Methods
__construct()
public
__construct(Autowiring $autowiring) : mixed
Parameters
- $autowiring : Autowiring
normalizeNestedDefinition()
Normalize a definition that is nested in another one.
public
normalizeNestedDefinition(mixed $definition) : mixed
Parameters
- $definition : mixed
Tags
normalizeRootDefinition()
Normalize a definition that is *not* nested in another one.
public
normalizeRootDefinition(mixed $definition, string $name[, array<string|int, string> $wildcardsReplacements = null ]) : Definition
This is usually a definition declared at the root of a definition array.
Parameters
- $definition : mixed
- $name : string
-
The definition name.
- $wildcardsReplacements : array<string|int, string> = null
-
Replacements for wildcard definitions.