mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 12:38:44 +02:00
Package operations: 2 installs, 23 updates, 0 removals - Updating psr/log (1.1.0 => 1.1.2) - Updating symfony/debug (v3.4.30 => v3.4.35) - Updating symfony/console (v3.4.30 => v3.4.35) - Updating symfony/dotenv (v3.4.30 => v3.4.35) - Updating symfony/routing (v3.4.30 => v3.4.35) - Updating symfony/finder (v3.4.30 => v3.4.35) - Updating symfony/filesystem (v3.4.30 => v3.4.35) - Installing symfony/polyfill-util (v1.12.0) - Installing symfony/polyfill-php56 (v1.12.0) - Updating symfony/http-foundation (v3.4.30 => v3.4.35) - Updating symfony/event-dispatcher (v3.4.30 => v3.4.35) - Updating symfony/http-kernel (v3.4.30 => v3.4.35) - Updating symfony/config (v3.4.30 => v3.4.35) - Updating symfony/dependency-injection (v3.4.30 => v3.4.35) - Updating symfony/class-loader (v3.4.30 => v3.4.35) - Updating symfony/cache (v3.4.30 => v3.4.35) - Updating symfony/framework-bundle (v3.4.30 => v3.4.35) - Updating twig/twig (v1.42.2 => v1.42.4) - Updating symfony/twig-bridge (v3.4.30 => v3.4.35) - Updating symfony/twig-bundle (v3.4.30 => v3.4.35) - Updating symfony/yaml (v3.4.30 => v3.4.35) - Updating symfony/stopwatch (v3.4.30 => v3.4.35) - Updating symfony/var-dumper (v3.4.30 => v3.4.35) - Updating symfony/web-profiler-bundle (v3.4.30 => v3.4.35) - Updating symfony/css-selector (v3.4.30 => v3.4.35)
185 lines
6.9 KiB
PHP
185 lines
6.9 KiB
PHP
<?php
|
|
|
|
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
|
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
use Symfony\Component\DependencyInjection\Container;
|
|
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
|
use Symfony\Component\DependencyInjection\Exception\LogicException;
|
|
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
|
|
use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
|
|
|
|
/**
|
|
* This class has been auto-generated
|
|
* by the Symfony Dependency Injection Component.
|
|
*
|
|
* @final since Symfony 3.3
|
|
*/
|
|
class ProjectServiceContainer extends Container
|
|
{
|
|
private $parameters = [];
|
|
private $targetDirs = [];
|
|
|
|
public function __construct()
|
|
{
|
|
$this->services = [];
|
|
$this->methodMap = [
|
|
'bar_service' => 'getBarServiceService',
|
|
'baz_service' => 'getBazServiceService',
|
|
'foo_service' => 'getFooServiceService',
|
|
'translator.loader_1' => 'getTranslator_Loader1Service',
|
|
'translator.loader_2' => 'getTranslator_Loader2Service',
|
|
'translator.loader_3' => 'getTranslator_Loader3Service',
|
|
'translator_1' => 'getTranslator1Service',
|
|
'translator_2' => 'getTranslator2Service',
|
|
'translator_3' => 'getTranslator3Service',
|
|
];
|
|
$this->privates = [
|
|
'baz_service' => true,
|
|
];
|
|
|
|
$this->aliases = [];
|
|
}
|
|
|
|
public function getRemovedIds()
|
|
{
|
|
return [
|
|
'Psr\\Container\\ContainerInterface' => true,
|
|
'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
|
|
'baz_service' => true,
|
|
'translator.loader_1_locator' => true,
|
|
'translator.loader_2_locator' => true,
|
|
'translator.loader_3_locator' => true,
|
|
];
|
|
}
|
|
|
|
public function compile()
|
|
{
|
|
throw new LogicException('You cannot compile a dumped container that was already compiled.');
|
|
}
|
|
|
|
public function isCompiled()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function isFrozen()
|
|
{
|
|
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Use the isCompiled() method instead.', __METHOD__), E_USER_DEPRECATED);
|
|
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* Gets the public 'bar_service' shared service.
|
|
*
|
|
* @return \stdClass
|
|
*/
|
|
protected function getBarServiceService()
|
|
{
|
|
return $this->services['bar_service'] = new \stdClass(${($_ = isset($this->services['baz_service']) ? $this->services['baz_service'] : ($this->services['baz_service'] = new \stdClass())) && false ?: '_'});
|
|
}
|
|
|
|
/**
|
|
* Gets the public 'foo_service' shared service.
|
|
*
|
|
* @return \Symfony\Component\DependencyInjection\ServiceLocator
|
|
*/
|
|
protected function getFooServiceService()
|
|
{
|
|
return $this->services['foo_service'] = new \Symfony\Component\DependencyInjection\ServiceLocator(['bar' => function () {
|
|
return ${($_ = isset($this->services['bar_service']) ? $this->services['bar_service'] : $this->getBarServiceService()) && false ?: '_'};
|
|
}, 'baz' => function () {
|
|
$f = function (\stdClass $v) { return $v; }; return $f(${($_ = isset($this->services['baz_service']) ? $this->services['baz_service'] : ($this->services['baz_service'] = new \stdClass())) && false ?: '_'});
|
|
}, 'nil' => function () {
|
|
return NULL;
|
|
}]);
|
|
}
|
|
|
|
/**
|
|
* Gets the public 'translator.loader_1' shared service.
|
|
*
|
|
* @return \stdClass
|
|
*/
|
|
protected function getTranslator_Loader1Service()
|
|
{
|
|
return $this->services['translator.loader_1'] = new \stdClass();
|
|
}
|
|
|
|
/**
|
|
* Gets the public 'translator.loader_2' shared service.
|
|
*
|
|
* @return \stdClass
|
|
*/
|
|
protected function getTranslator_Loader2Service()
|
|
{
|
|
return $this->services['translator.loader_2'] = new \stdClass();
|
|
}
|
|
|
|
/**
|
|
* Gets the public 'translator.loader_3' shared service.
|
|
*
|
|
* @return \stdClass
|
|
*/
|
|
protected function getTranslator_Loader3Service()
|
|
{
|
|
return $this->services['translator.loader_3'] = new \stdClass();
|
|
}
|
|
|
|
/**
|
|
* Gets the public 'translator_1' shared service.
|
|
*
|
|
* @return \Symfony\Component\DependencyInjection\Tests\Fixtures\StubbedTranslator
|
|
*/
|
|
protected function getTranslator1Service()
|
|
{
|
|
return $this->services['translator_1'] = new \Symfony\Component\DependencyInjection\Tests\Fixtures\StubbedTranslator(new \Symfony\Component\DependencyInjection\ServiceLocator(['translator.loader_1' => function () {
|
|
return ${($_ = isset($this->services['translator.loader_1']) ? $this->services['translator.loader_1'] : ($this->services['translator.loader_1'] = new \stdClass())) && false ?: '_'};
|
|
}]));
|
|
}
|
|
|
|
/**
|
|
* Gets the public 'translator_2' shared service.
|
|
*
|
|
* @return \Symfony\Component\DependencyInjection\Tests\Fixtures\StubbedTranslator
|
|
*/
|
|
protected function getTranslator2Service()
|
|
{
|
|
$this->services['translator_2'] = $instance = new \Symfony\Component\DependencyInjection\Tests\Fixtures\StubbedTranslator(new \Symfony\Component\DependencyInjection\ServiceLocator(['translator.loader_2' => function () {
|
|
return ${($_ = isset($this->services['translator.loader_2']) ? $this->services['translator.loader_2'] : ($this->services['translator.loader_2'] = new \stdClass())) && false ?: '_'};
|
|
}]));
|
|
|
|
$instance->addResource('db', ${($_ = isset($this->services['translator.loader_2']) ? $this->services['translator.loader_2'] : ($this->services['translator.loader_2'] = new \stdClass())) && false ?: '_'}, 'nl');
|
|
|
|
return $instance;
|
|
}
|
|
|
|
/**
|
|
* Gets the public 'translator_3' shared service.
|
|
*
|
|
* @return \Symfony\Component\DependencyInjection\Tests\Fixtures\StubbedTranslator
|
|
*/
|
|
protected function getTranslator3Service()
|
|
{
|
|
$this->services['translator_3'] = $instance = new \Symfony\Component\DependencyInjection\Tests\Fixtures\StubbedTranslator(new \Symfony\Component\DependencyInjection\ServiceLocator(['translator.loader_3' => function () {
|
|
return ${($_ = isset($this->services['translator.loader_3']) ? $this->services['translator.loader_3'] : ($this->services['translator.loader_3'] = new \stdClass())) && false ?: '_'};
|
|
}]));
|
|
|
|
$a = ${($_ = isset($this->services['translator.loader_3']) ? $this->services['translator.loader_3'] : ($this->services['translator.loader_3'] = new \stdClass())) && false ?: '_'};
|
|
|
|
$instance->addResource('db', $a, 'nl');
|
|
$instance->addResource('db', $a, 'en');
|
|
|
|
return $instance;
|
|
}
|
|
|
|
/**
|
|
* Gets the private 'baz_service' shared service.
|
|
*
|
|
* @return \stdClass
|
|
*/
|
|
protected function getBazServiceService()
|
|
{
|
|
return $this->services['baz_service'] = new \stdClass();
|
|
}
|
|
}
|