tikiwiki/packages/tiki-pkg-tikimanager/symfony/dependency-injection/Tests/Fixtures/containers/container15.php

13 lines
245 B
PHP
Raw Permalink Normal View History

2023-11-20 21:52:04 +01:00
<?php
use Symfony\Component\DependencyInjection\ContainerBuilder;
$container = new ContainerBuilder();
$container
->register('foo', 'FooClass\\Foo')
->setDecoratedService('bar', 'bar.woozy')
->setPublic(true)
;
return $container;