api/symfony/Component/DependencyInjection/Compiler/AutowireRequiredMethodsPass.yaml

34 lines
800 B
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: AutowireRequiredMethodsPass
class_comment: '# * Looks for definitions with autowiring enabled and registers their
corresponding "#[Required]" methods as setters.
# *
# * @author Nicolas Grekas <p@tchwork.com>'
dependencies:
- name: Definition
type: class
source: Symfony\Component\DependencyInjection\Definition
- 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
- name: isWither
visibility: private
parameters:
- name: reflectionMethod
- name: doc
comment: null
traits:
- Symfony\Component\DependencyInjection\Definition
- Symfony\Contracts\Service\Attribute\Required
interfaces: []