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
22 lines
569 B
PHP
22 lines
569 B
PHP
<?php
|
|
|
|
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
|
|
|
use Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Foo;
|
|
|
|
return function (ContainerConfigurator $c) {
|
|
$c->import('basic.php');
|
|
|
|
$s = $c->services()->defaults()
|
|
->public()
|
|
->private()
|
|
->autoconfigure()
|
|
->autowire()
|
|
->tag('t', ['a' => 'b'])
|
|
->bind(Foo::class, ref('bar'))
|
|
->private();
|
|
|
|
$s->set(Foo::class)->args([ref('bar')])->public();
|
|
$s->set('bar', Foo::class)->call('setFoo')->autoconfigure(false);
|
|
};
|