tikiwiki/packages/tiki-pkg-tikimanager/symfony/dependency-injection/Tests/Fixtures/config/child.php
2023-11-20 20:52:04 +00:00

25 lines
600 B
PHP
Executable File

<?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use App\BarService;
return function (ContainerConfigurator $c) {
$c->services()
->set('bar', 'Class1')->public()
->set(BarService::class)
->public()
->abstract(true)
->lazy()
->set('foo')
->parent(BarService::class)
->public()
->decorate('bar', 'b', 1)
->args([ref('b')])
->class('Class2')
->file('file.php')
->parent('bar')
->parent(BarService::class)
;
};