mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 04:28:44 +02:00
- Autoloader for portal files in the itop-portal-base module - Dependencies moved to root composer.json - Add autoloader for /core and /application content
20 lines
780 B
PHP
20 lines
780 B
PHP
<?php
|
|
|
|
namespace Symfony\Tests\InlineRequires;
|
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\DependencyInjection\Definition;
|
|
use Symfony\Component\DependencyInjection\Dumper\PhpDumper;
|
|
use Symfony\Component\DependencyInjection\Reference;
|
|
use Symfony\Component\DependencyInjection\Tests\Fixtures\includes\HotPath;
|
|
use Symfony\Component\DependencyInjection\Tests\Fixtures\ParentNotExists;
|
|
|
|
$container = new ContainerBuilder();
|
|
|
|
$container->register(HotPath\C1::class)->addTag('container.hot_path')->setPublic(true);
|
|
$container->register(HotPath\C2::class)->addArgument(new Reference(HotPath\C3::class))->setPublic(true);
|
|
$container->register(HotPath\C3::class);
|
|
$container->register(ParentNotExists::class)->setPublic(true);
|
|
|
|
return $container;
|