mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 12:38: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
14 lines
324 B
PHP
14 lines
324 B
PHP
<?php
|
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\DependencyInjection\Definition;
|
|
|
|
$container = new ContainerBuilder();
|
|
$container->
|
|
register('foo', 'FooClass')->
|
|
addArgument(new Definition('BarClass', [new Definition('BazClass')]))
|
|
->setPublic(true)
|
|
;
|
|
|
|
return $container;
|