platform/api/symfony/Component/DependencyInjection/Attribute/AutowireMethodOf.yaml

45 lines
1 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: AutowireMethodOf
class_comment: null
dependencies:
- name: Definition
type: class
source: Symfony\Component\DependencyInjection\Definition
- name: Reference
type: class
source: Symfony\Component\DependencyInjection\Reference
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: service
- name: lazy
default: 'false'
comment: '# * Tells which method should be turned into a Closure based on the name
of the parameter it''s attached to.
# */
# #[\Attribute(\Attribute::TARGET_PARAMETER)]
# class AutowireMethodOf extends AutowireCallable
# {
# /**
# * @param string $service The service containing the method to autowire
# * @param bool|class-string $lazy Whether to use lazy-loading for this argument'
- name: buildDefinition
visibility: public
parameters:
- name: value
- name: type
- name: parameter
comment: null
traits:
- Symfony\Component\DependencyInjection\Definition
- Symfony\Component\DependencyInjection\Reference
interfaces: []