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 Symfony_DI_PhpDumper_Test_Almost_Circular_Private extends Container
20 private $targetDirs = array();
22 public function __construct()
24 $this->services = array();
25 $this->methodMap = array(
26 'bar2' => 'getBar2Service',
27 'bar3' => 'getBar3Service',
28 'bar6' => 'getBar6Service',
29 'baz6' => 'getBaz6Service',
30 'connection' => 'getConnectionService',
31 'connection2' => 'getConnection2Service',
32 'foo' => 'getFooService',
33 'foo2' => 'getFoo2Service',
34 'foo5' => 'getFoo5Service',
35 'foo6' => 'getFoo6Service',
36 'foobar4' => 'getFoobar4Service',
37 'logger' => 'getLoggerService',
38 'manager' => 'getManagerService',
39 'manager2' => 'getManager2Service',
40 'subscriber' => 'getSubscriberService',
42 $this->privates = array(
46 $this->aliases = array();
49 public function getRemovedIds()
52 'Psr\\Container\\ContainerInterface' => true,
53 'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
60 'dispatcher2' => true,
66 'subscriber2' => true,
70 public function compile()
72 throw new LogicException('You cannot compile a dumped container that was already compiled.');
75 public function isCompiled()
80 public function isFrozen()
82 @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);
88 * Gets the public 'bar2' shared service.
90 * @return \BarCircular
92 protected function getBar2Service()
94 $this->services['bar2'] = $instance = new \BarCircular();
96 $instance->addFoobar(new \FoobarCircular(${($_ = isset($this->services['foo2']) ? $this->services['foo2'] : $this->getFoo2Service()) && false ?: '_'}));
102 * Gets the public 'bar3' shared service.
104 * @return \BarCircular
106 protected function getBar3Service()
108 $this->services['bar3'] = $instance = new \BarCircular();
110 $a = new \FoobarCircular();
112 $instance->addFoobar($a, $a);
118 * Gets the public 'baz6' shared service.
122 protected function getBaz6Service()
124 $this->services['baz6'] = $instance = new \stdClass();
126 $instance->bar6 = ${($_ = isset($this->services['bar6']) ? $this->services['bar6'] : $this->getBar6Service()) && false ?: '_'};
132 * Gets the public 'connection' shared service.
136 protected function getConnectionService()
138 $a = new \stdClass();
140 $b = new \stdClass();
142 $this->services['connection'] = $instance = new \stdClass($a, $b);
144 $a->subscriber = ${($_ = isset($this->services['subscriber']) ? $this->services['subscriber'] : $this->getSubscriberService()) && false ?: '_'};
146 $b->logger = ${($_ = isset($this->services['logger']) ? $this->services['logger'] : $this->getLoggerService()) && false ?: '_'};
152 * Gets the public 'connection2' shared service.
156 protected function getConnection2Service()
158 $a = new \stdClass();
160 $c = new \stdClass();
162 $this->services['connection2'] = $instance = new \stdClass($a, $c);
164 $b = ${($_ = isset($this->services['manager2']) ? $this->services['manager2'] : $this->getManager2Service()) && false ?: '_'};
166 $a->subscriber2 = new \stdClass($b);
168 $d = new \stdClass($instance);
170 $d->handler2 = new \stdClass($b);
178 * Gets the public 'foo' shared service.
180 * @return \FooCircular
182 protected function getFooService()
184 $a = new \BarCircular();
186 $this->services['foo'] = $instance = new \FooCircular($a);
188 $a->addFoobar(new \FoobarCircular($instance));
194 * Gets the public 'foo2' shared service.
196 * @return \FooCircular
198 protected function getFoo2Service()
200 $a = ${($_ = isset($this->services['bar2']) ? $this->services['bar2'] : $this->getBar2Service()) && false ?: '_'};
202 if (isset($this->services['foo2'])) {
203 return $this->services['foo2'];
206 return $this->services['foo2'] = new \FooCircular($a);
210 * Gets the public 'foo5' shared service.
214 protected function getFoo5Service()
216 $this->services['foo5'] = $instance = new \stdClass();
218 $a = new \stdClass($instance);
228 * Gets the public 'foo6' shared service.
232 protected function getFoo6Service()
234 $this->services['foo6'] = $instance = new \stdClass();
236 $instance->bar6 = ${($_ = isset($this->services['bar6']) ? $this->services['bar6'] : $this->getBar6Service()) && false ?: '_'};
242 * Gets the public 'foobar4' shared service.
246 protected function getFoobar4Service()
248 $a = new \stdClass();
250 $this->services['foobar4'] = $instance = new \stdClass($a);
252 $a->foobar = $instance;
258 * Gets the public 'logger' shared service.
262 protected function getLoggerService()
264 $a = ${($_ = isset($this->services['connection']) ? $this->services['connection'] : $this->getConnectionService()) && false ?: '_'};
266 if (isset($this->services['logger'])) {
267 return $this->services['logger'];
270 $this->services['logger'] = $instance = new \stdClass($a);
272 $instance->handler = new \stdClass(${($_ = isset($this->services['manager']) ? $this->services['manager'] : $this->getManagerService()) && false ?: '_'});
278 * Gets the public 'manager' shared service.
282 protected function getManagerService()
284 $a = ${($_ = isset($this->services['connection']) ? $this->services['connection'] : $this->getConnectionService()) && false ?: '_'};
286 if (isset($this->services['manager'])) {
287 return $this->services['manager'];
290 return $this->services['manager'] = new \stdClass($a);
294 * Gets the public 'manager2' shared service.
298 protected function getManager2Service()
300 $a = ${($_ = isset($this->services['connection2']) ? $this->services['connection2'] : $this->getConnection2Service()) && false ?: '_'};
302 if (isset($this->services['manager2'])) {
303 return $this->services['manager2'];
306 return $this->services['manager2'] = new \stdClass($a);
310 * Gets the public 'subscriber' shared service.
314 protected function getSubscriberService()
316 $a = ${($_ = isset($this->services['manager']) ? $this->services['manager'] : $this->getManagerService()) && false ?: '_'};
318 if (isset($this->services['subscriber'])) {
319 return $this->services['subscriber'];
322 return $this->services['subscriber'] = new \stdClass($a);
326 * Gets the private 'bar6' shared service.
330 protected function getBar6Service()
332 $a = ${($_ = isset($this->services['foo6']) ? $this->services['foo6'] : $this->getFoo6Service()) && false ?: '_'};
334 if (isset($this->services['bar6'])) {
335 return $this->services['bar6'];
338 return $this->services['bar6'] = new \stdClass($a);