2 # main_service should look like this in the end
4 class: Symfony\Component\DependencyInjection\Tests\Compiler\IntegrationTestStub
5 # _instanceof overrides _defaults
7 # inherited from _defaults
11 # service definition overrides _instanceof
15 - { name: foo_tag, tag_option: from_service }
16 # these 2 are from instanceof
17 - { name: foo_tag, tag_option: from_instanceof }
19 - { name: from_defaults }
20 # calls from instanceof are kept, but this comes later
22 # first call is from instanceof
23 - [setSunshine, [bright]]
25 - [enableSummer, [true]]
26 - [setSunshine, [warm]]