3 use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
4 use Symfony\Component\DependencyInjection\ContainerInterface;
5 use Symfony\Component\DependencyInjection\Container;
6 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
7 use Symfony\Component\DependencyInjection\Exception\LogicException;
8 use Symfony\Component\DependencyInjection\Exception\RuntimeException;
9 use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
12 * This class has been auto-generated
13 * by the Symfony Dependency Injection Component.
15 * @final since Symfony 3.3
17 class ProjectServiceContainer extends Container
20 private $targetDirs = array();
22 public function __construct()
24 $this->services = array();
25 $this->normalizedIds = array(
26 'app\\bus' => 'App\\Bus',
27 'app\\db' => 'App\\Db',
28 'app\\handler1' => 'App\\Handler1',
29 'app\\handler2' => 'App\\Handler2',
30 'app\\processor' => 'App\\Processor',
31 'app\\registry' => 'App\\Registry',
32 'app\\schema' => 'App\\Schema',
34 $this->methodMap = array(
35 'App\\Bus' => 'getBusService',
36 'App\\Db' => 'getDbService',
37 'App\\Handler1' => 'getHandler1Service',
38 'App\\Handler2' => 'getHandler2Service',
39 'App\\Processor' => 'getProcessorService',
40 'App\\Registry' => 'getRegistryService',
41 'App\\Schema' => 'getSchemaService',
43 $this->privates = array(
44 'App\\Handler1' => true,
45 'App\\Handler2' => true,
46 'App\\Processor' => true,
47 'App\\Registry' => true,
48 'App\\Schema' => true,
51 $this->aliases = array();
54 public function getRemovedIds()
57 'App\\Handler1' => true,
58 'App\\Handler2' => true,
59 'App\\Processor' => true,
60 'App\\Registry' => true,
61 'App\\Schema' => true,
62 'Psr\\Container\\ContainerInterface' => true,
63 'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
67 public function compile()
69 throw new LogicException('You cannot compile a dumped container that was already compiled.');
72 public function isCompiled()
77 public function isFrozen()
79 @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);
85 * Gets the public 'App\Bus' shared service.
89 protected function getBusService()
91 $this->services['App\Bus'] = $instance = new \App\Bus(${($_ = isset($this->services['App\Db']) ? $this->services['App\Db'] : $this->getDbService()) && false ?: '_'});
93 $instance->handler1 = ${($_ = isset($this->services['App\Handler1']) ? $this->services['App\Handler1'] : $this->getHandler1Service()) && false ?: '_'};
94 $instance->handler2 = ${($_ = isset($this->services['App\Handler2']) ? $this->services['App\Handler2'] : $this->getHandler2Service()) && false ?: '_'};
100 * Gets the public 'App\Db' shared service.
104 protected function getDbService()
106 $this->services['App\Db'] = $instance = new \App\Db();
108 $instance->schema = ${($_ = isset($this->services['App\Schema']) ? $this->services['App\Schema'] : $this->getSchemaService()) && false ?: '_'};
114 * Gets the private 'App\Handler1' shared service.
116 * @return \App\Handler1
118 protected function getHandler1Service()
120 $a = ${($_ = isset($this->services['App\Processor']) ? $this->services['App\Processor'] : $this->getProcessorService()) && false ?: '_'};
122 if (isset($this->services['App\Handler1'])) {
123 return $this->services['App\Handler1'];
126 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);
130 * Gets the private 'App\Handler2' shared service.
132 * @return \App\Handler2
134 protected function getHandler2Service()
136 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 ?: '_'}, ${($_ = isset($this->services['App\Processor']) ? $this->services['App\Processor'] : $this->getProcessorService()) && false ?: '_'});
140 * Gets the private 'App\Processor' shared service.
142 * @return \App\Processor
144 protected function getProcessorService()
146 $a = ${($_ = isset($this->services['App\Registry']) ? $this->services['App\Registry'] : $this->getRegistryService()) && false ?: '_'};
148 if (isset($this->services['App\Processor'])) {
149 return $this->services['App\Processor'];
152 return $this->services['App\Processor'] = new \App\Processor($a, ${($_ = isset($this->services['App\Db']) ? $this->services['App\Db'] : $this->getDbService()) && false ?: '_'});
156 * Gets the private 'App\Registry' shared service.
158 * @return \App\Registry
160 protected function getRegistryService()
162 $this->services['App\Registry'] = $instance = new \App\Registry();
164 $instance->processor = array(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 ?: '_'});
170 * Gets the private 'App\Schema' shared service.
172 * @return \App\Schema
174 protected function getSchemaService()
176 $a = ${($_ = isset($this->services['App\Db']) ? $this->services['App\Db'] : $this->getDbService()) && false ?: '_'};
178 if (isset($this->services['App\Schema'])) {
179 return $this->services['App\Schema'];
182 return $this->services['App\Schema'] = new \App\Schema($a);