
services:
    service_container:
        class: Symfony\Component\DependencyInjection\ContainerInterface
        public: true
        synthetic: true
    foo:
        class: Class2
        file: file.php
        lazy: true
        arguments: [!service { class: Class1, public: false }]
    bar: '@foo'
