class ReplaceAliasByActualDefinitionPass extends AbstractRecursivePass
Replaces aliases with actual service definitions, effectively removing these aliases.
| protected ContainerBuilder | $container | from AbstractRecursivePass | |
| protected | $currentId | from AbstractRecursivePass |
| process(ContainerBuilder $container) Process the Container to replace aliases with service definitions. | ||
| mixed | processValue(mixed $value, bool $isRoot = false) Processes a value found in a definition tree. | |
| ReflectionFunctionAbstract|null | getConstructor(Definition $definition, bool $required) | from AbstractRecursivePass |
| ReflectionFunctionAbstract | getReflectionMethod(Definition $definition, string $method) | from AbstractRecursivePass |
Process the Container to replace aliases with service definitions.
| ContainerBuilder | $container |
| InvalidArgumentException | if the service definition does not exist |
Processes a value found in a definition tree.
| mixed | $value | |
| bool | $isRoot |
| mixed | The processed value |
| Definition | $definition | |
| bool | $required |
| ReflectionFunctionAbstract|null |
| RuntimeException |
| Definition | $definition | |
| string | $method |
| ReflectionFunctionAbstract |
| RuntimeException |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Compiler/ReplaceAliasByActualDefinitionPass.html