platform/api/symfony/Component/DependencyInjection/Compiler/ResolveInstanceofConditionalsPass.yaml

53 lines
1.5 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: ResolveInstanceofConditionalsPass
class_comment: '# * Applies instanceof conditionals to definitions.
# *
# * @author Nicolas Grekas <p@tchwork.com>'
dependencies:
- name: ChildDefinition
type: class
source: Symfony\Component\DependencyInjection\ChildDefinition
- name: ContainerBuilder
type: class
source: Symfony\Component\DependencyInjection\ContainerBuilder
- name: Definition
type: class
source: Symfony\Component\DependencyInjection\Definition
- name: InvalidArgumentException
type: class
source: Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
- name: RuntimeException
type: class
source: Symfony\Component\DependencyInjection\Exception\RuntimeException
properties: []
methods:
- name: process
visibility: public
parameters:
- name: container
comment: null
- name: processDefinition
visibility: private
parameters:
- name: container
- name: id
- name: definition
- name: tagsToKeep
comment: null
- name: mergeConditionals
visibility: private
parameters:
- name: autoconfiguredInstanceof
- name: instanceofConditionals
- name: container
comment: null
traits:
- Symfony\Component\DependencyInjection\ChildDefinition
- Symfony\Component\DependencyInjection\ContainerBuilder
- Symfony\Component\DependencyInjection\Definition
- Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
- Symfony\Component\DependencyInjection\Exception\RuntimeException
interfaces:
- CompilerPassInterface