<?php

namespace Symfony\Component\DependencyInjection\Loader\Configurator;

use App\BarService;

return function (ContainerConfigurator $c) {
    $c->services()
        ->set('bar', 'Class1')
        ->set(BarService::class)
            ->abstract(true)
            ->lazy()
        ->set('foo')
            ->parent(BarService::class)
            ->decorate('bar', 'b', 1)
            ->args(array(ref('b')))
            ->class('Class2')
            ->file('file.php')
            ->parent('bar')
            ->parent(BarService::class)
    ;
};
