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

38 lines
1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: AutowireRequiredPropertiesPass
class_comment: '# * Looks for definitions with autowiring enabled and registers their
corresponding "#[Required]" properties.
# *
# * @author Sebastien Morel (Plopix) <morel.seb@gmail.com>
# * @author Nicolas Grekas <p@tchwork.com>'
dependencies:
- name: ContainerInterface
type: class
source: Symfony\Component\DependencyInjection\ContainerInterface
- name: Definition
type: class
source: Symfony\Component\DependencyInjection\Definition
- name: TypedReference
type: class
source: Symfony\Component\DependencyInjection\TypedReference
- name: Required
type: class
source: Symfony\Contracts\Service\Attribute\Required
properties: []
methods:
- name: processValue
visibility: protected
parameters:
- name: value
- name: isRoot
default: 'false'
comment: null
traits:
- Symfony\Component\DependencyInjection\ContainerInterface
- Symfony\Component\DependencyInjection\Definition
- Symfony\Component\DependencyInjection\TypedReference
- Symfony\Contracts\Service\Attribute\Required
interfaces: []