Spec-Zone.ru › Symfony 4.1

ResolveParameterPlaceHoldersPass

class ResolveParameterPlaceHoldersPass extends AbstractRecursivePass

Разрешает все заполнительные параметры «%somevalue%» на их реальные значения.

Свойства

protected ContainerBuilder $container из AbstractRecursivePass
protected $currentId из AbstractRecursivePass

Методы

process(ContainerBuilder $container)

Вы можете изменить контейнер здесь, прежде чем он будет выведен в код PHP.

mixed processValue(mixed $value, bool $isRoot = false)

Обрабатывает значение, найденное в дереве определения.

ReflectionFunctionAbstract|null getConstructor(Definition $definition, bool $required) из AbstractRecursivePass
ReflectionFunctionAbstract getReflectionMethod(Definition $definition, string $method) из AbstractRecursivePass
__construct(bool $resolveArrays = true)

Подробности

process(ContainerBuilder $container)

Вы можете изменить контейнер здесь, прежде чем он будет выведен в код PHP.

Параметры

ContainerBuilder $container

protected mixed processValue(mixed $value, bool $isRoot = false)

Обрабатывает значение, найденное в дереве определения.

Параметры

mixed $value
bool $isRoot

Возвращаемое значение

mixed Обработанное значение

protected ReflectionFunctionAbstract|null getConstructor(Definition $definition, bool $required)

Параметры

Definition $definition
bool $required

Возвращаемое значение

ReflectionFunctionAbstract|null

Исключения

RuntimeException

protected ReflectionFunctionAbstract getReflectionMethod(Definition $definition, string $method)

Параметры

Definition $definition
string $method

Возвращаемое значение

ReflectionFunctionAbstract

Исключения

RuntimeException

__construct(bool $resolveArrays = true)

Параметры

bool $resolveArrays

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Compiler/ResolveParameterPlaceHoldersPass.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API