Files
iTop/lib/symfony/dependency-injection/Tests/Fixtures/php/services_adawson.php
Molkobain c76cccd2e7 Updating Symfony lib and dependencies:
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)
2019-11-18 18:04:32 +01:00

191 lines
6.7 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->normalizedIds = [
'app\\bus' => 'App\\Bus',
'app\\db' => 'App\\Db',
'app\\handler1' => 'App\\Handler1',
'app\\handler2' => 'App\\Handler2',
'app\\processor' => 'App\\Processor',
'app\\registry' => 'App\\Registry',
'app\\schema' => 'App\\Schema',
];
$this->methodMap = [
'App\\Bus' => 'getBusService',
'App\\Db' => 'getDbService',
'App\\Handler1' => 'getHandler1Service',
'App\\Handler2' => 'getHandler2Service',
'App\\Processor' => 'getProcessorService',
'App\\Registry' => 'getRegistryService',
'App\\Schema' => 'getSchemaService',
];
$this->privates = [
'App\\Handler1' => true,
'App\\Handler2' => true,
'App\\Processor' => true,
'App\\Registry' => true,
'App\\Schema' => true,
];
$this->aliases = [];
}
public function getRemovedIds()
{
return [
'App\\Handler1' => true,
'App\\Handler2' => true,
'App\\Processor' => true,
'App\\Registry' => true,
'App\\Schema' => true,
'Psr\\Container\\ContainerInterface' => true,
'Symfony\\Component\\DependencyInjection\\ContainerInterface' => 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 'App\Bus' shared service.
*
* @return \App\Bus
*/
protected function getBusService()
{
$this->services['App\\Bus'] = $instance = new \App\Bus(${($_ = isset($this->services['App\\Db']) ? $this->services['App\\Db'] : $this->getDbService()) && false ?: '_'});
$instance->handler1 = ${($_ = isset($this->services['App\\Handler1']) ? $this->services['App\\Handler1'] : $this->getHandler1Service()) && false ?: '_'};
$instance->handler2 = ${($_ = isset($this->services['App\\Handler2']) ? $this->services['App\\Handler2'] : $this->getHandler2Service()) && false ?: '_'};
return $instance;
}
/**
* Gets the public 'App\Db' shared service.
*
* @return \App\Db
*/
protected function getDbService()
{
$this->services['App\\Db'] = $instance = new \App\Db();
$instance->schema = ${($_ = isset($this->services['App\\Schema']) ? $this->services['App\\Schema'] : $this->getSchemaService()) && false ?: '_'};
return $instance;
}
/**
* Gets the private 'App\Handler1' shared service.
*
* @return \App\Handler1
*/
protected function getHandler1Service()
{
$a = ${($_ = isset($this->services['App\\Processor']) ? $this->services['App\\Processor'] : $this->getProcessorService()) && false ?: '_'};
if (isset($this->services['App\\Handler1'])) {
return $this->services['App\\Handler1'];
}
return $this->services['App\\Handler1'] = new \App\Handler1(${($_ = isset($this->services['App\\Db']) ? $this->services['App\\Db'] : $this->getDbService()) && false ?: '_'}, ${($_ = isset($this->services['App\\Schema']) ? $this->services['App\\Schema'] : $this->getSchemaService()) && false ?: '_'}, $a);
}
/**
* Gets the private 'App\Handler2' shared service.
*
* @return \App\Handler2
*/
protected function getHandler2Service()
{
$a = ${($_ = isset($this->services['App\\Processor']) ? $this->services['App\\Processor'] : $this->getProcessorService()) && false ?: '_'};
if (isset($this->services['App\\Handler2'])) {
return $this->services['App\\Handler2'];
}
return $this->services['App\\Handler2'] = new \App\Handler2(${($_ = isset($this->services['App\\Db']) ? $this->services['App\\Db'] : $this->getDbService()) && false ?: '_'}, ${($_ = isset($this->services['App\\Schema']) ? $this->services['App\\Schema'] : $this->getSchemaService()) && false ?: '_'}, $a);
}
/**
* Gets the private 'App\Processor' shared service.
*
* @return \App\Processor
*/
protected function getProcessorService()
{
$a = ${($_ = isset($this->services['App\\Registry']) ? $this->services['App\\Registry'] : $this->getRegistryService()) && false ?: '_'};
if (isset($this->services['App\\Processor'])) {
return $this->services['App\\Processor'];
}
return $this->services['App\\Processor'] = new \App\Processor($a, ${($_ = isset($this->services['App\\Db']) ? $this->services['App\\Db'] : $this->getDbService()) && false ?: '_'});
}
/**
* Gets the private 'App\Registry' shared service.
*
* @return \App\Registry
*/
protected function getRegistryService()
{
$this->services['App\\Registry'] = $instance = new \App\Registry();
$instance->processor = [0 => ${($_ = isset($this->services['App\\Db']) ? $this->services['App\\Db'] : $this->getDbService()) && false ?: '_'}, 1 => ${($_ = isset($this->services['App\\Bus']) ? $this->services['App\\Bus'] : $this->getBusService()) && false ?: '_'}];
return $instance;
}
/**
* Gets the private 'App\Schema' shared service.
*
* @return \App\Schema
*/
protected function getSchemaService()
{
$a = ${($_ = isset($this->services['App\\Db']) ? $this->services['App\\Db'] : $this->getDbService()) && false ?: '_'};
if (isset($this->services['App\\Schema'])) {
return $this->services['App\\Schema'];
}
return $this->services['App\\Schema'] = new \App\Schema($a);
}
}