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

13 lines
336 B
PHP
Executable File

<?php
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\ContainerInterface;
$container = new ContainerBuilder();
$container
->register('decorator')
->setDecoratedService('decorated', 'decorated.inner', 1, ContainerInterface::NULL_ON_INVALID_REFERENCE)
;
return $container;