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

20 lines
457 B
PHP
Executable File

<?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Foo;
return function (ContainerConfigurator $c) {
$c->parameters()
('foo', 'Foo')
('bar', 'Bar')
;
$c->services()->defaults()->public()
(Foo::class)
->arg('$bar', ref('bar'))
->public()
('bar', Foo::class)
->call('setFoo')
;
};