api/symfony/Component/DependencyInjection/Tests/Fixtures/AutowireLocatorConsumer.yaml
2024-09-26 02:03:21 -07:00

35 lines
1 KiB
YAML

name: AutowireLocatorConsumer
class_comment: null
dependencies:
- name: ContainerInterface
type: class
source: Psr\Container\ContainerInterface
- name: Autowire
type: class
source: Symfony\Component\DependencyInjection\Attribute\Autowire
- name: AutowireLocator
type: class
source: Symfony\Component\DependencyInjection\Attribute\AutowireLocator
- name: SubscribedService
type: class
source: Symfony\Contracts\Service\Attribute\SubscribedService
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: BarTagClass::class
- name: '''with_key'''
default: '> FooTagClass::class'
- name: '''nullable'''
default: '> ''?invalid'''
- name: '''subscribed'''
default: '> new SubscribedService(type: ''string'''
- name: Autowire('%some.parameter%'
comment: null
traits:
- Psr\Container\ContainerInterface
- Symfony\Component\DependencyInjection\Attribute\Autowire
- Symfony\Component\DependencyInjection\Attribute\AutowireLocator
- Symfony\Contracts\Service\Attribute\SubscribedService
interfaces: []