
services:
    service_container:
        class: Symfony\Component\DependencyInjection\ContainerInterface
        public: true
        synthetic: true
    foo:
        class: Bar\FooClass
        public: true
    bar:
        class: Bar\FooClass
        public: true
        factory: '@=service("foo").getInstance()'
