legacy-services9.yml in Zircon Profile 8.0
Same filename and directory in other branches
vendor/symfony/dependency-injection/Tests/Fixtures/yaml/legacy-services9.yml
File
vendor/symfony/dependency-injection/Tests/Fixtures/yaml/legacy-services9.ymlView source
- parameters:
- baz_class: BazClass
- foo: bar
-
- services:
- foo:
- class: Bar\FooClass
- tags:
- - { name: foo, foo: foo }
- - { name: foo, bar: bar }
- factory_class: Bar\FooClass
- factory_method: getInstance
- arguments: [foo, '@foo.baz', { '%foo%': 'foo is %foo%', foobar: '%foo%' }, true, '@service_container']
- properties: { foo: bar, moo: '@foo.baz', qux: { '%foo%': 'foo is %foo%', foobar: '%foo%' } }
- calls:
- - [setBar, ['@bar']]
- - [initialize, { }]
-
- configurator: sc_configure
- foo.baz:
- class: %baz_class%
- factory_class: %baz_class%
- factory_method: getInstance
- configurator: ['%baz_class%', configureStatic1]
- factory_service:
- class: Bar
- factory_method: getInstance
- factory_service: foo.baz