Documentation

DefinitionNormalizer
in package

Turns raw definitions/definition helpers into definitions ready to be resolved or compiled.

Tags
author

Matthieu Napoli matthieu@mnapoli.fr

Table of Contents

Properties

$autowiring  : Autowiring

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

Methods

normalizeNestedDefinition()

Normalize a definition that is nested in another one.

public normalizeNestedDefinition(mixed $definition) : mixed
Parameters
$definition : mixed
Tags
throws
InvalidDefinition

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.

Tags
throws
InvalidDefinition
Return values
Definition

        
On this page

Search results