13 lines
336 B
PHP
Executable File
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;
|