45 lines
1.7 KiB
YAML
45 lines
1.7 KiB
YAML
name: ResolveParameterPlaceHoldersPass
|
|
class_comment: '# * Resolves all parameter placeholders "%somevalue%" to their real
|
|
values.
|
|
|
|
# *
|
|
|
|
# * @author Johannes M. Schmitt <schmittjoh@gmail.com>'
|
|
dependencies:
|
|
- name: ContainerBuilder
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\ContainerBuilder
|
|
- name: Definition
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\Definition
|
|
- name: ParameterNotFoundException
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException
|
|
- name: ParameterBagInterface
|
|
type: class
|
|
source: Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
|
|
properties: []
|
|
methods:
|
|
- name: process
|
|
visibility: public
|
|
parameters:
|
|
- name: container
|
|
comment: "# * Resolves all parameter placeholders \"%somevalue%\" to their real\
|
|
\ values.\n# *\n# * @author Johannes M. Schmitt <schmittjoh@gmail.com>\n# */\n\
|
|
# class ResolveParameterPlaceHoldersPass extends AbstractRecursivePass\n# {\n\
|
|
# protected bool $skipScalars = false;\n# \n# private ParameterBagInterface $bag;\n\
|
|
# \n# public function __construct(\n# private bool $resolveArrays = true,\n# private\
|
|
\ bool $throwOnResolveException = true,\n# ) {\n# }\n# \n# /**\n# * @throws ParameterNotFoundException"
|
|
- name: processValue
|
|
visibility: protected
|
|
parameters:
|
|
- name: value
|
|
- name: isRoot
|
|
default: 'false'
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\DependencyInjection\ContainerBuilder
|
|
- Symfony\Component\DependencyInjection\Definition
|
|
- Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException
|
|
- Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
|
|
interfaces: []
|