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_Deep_Graph extends Container
20 private $targetDirs = array();
22 public function __construct()
24 $this->services = array();
25 $this->methodMap = array(
26 'bar' => 'getBarService',
27 'foo' => 'getFooService',
30 $this->aliases = array();
33 public function getRemovedIds()
36 'Psr\\Container\\ContainerInterface' => true,
37 'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
41 public function compile()
43 throw new LogicException('You cannot compile a dumped container that was already compiled.');
46 public function isCompiled()
51 public function isFrozen()
53 @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);
59 * Gets the public 'bar' shared service.
63 protected function getBarService()
65 $this->services['bar'] = $instance = new \stdClass();
67 $instance->p5 = new \stdClass(${($_ = isset($this->services['foo']) ? $this->services['foo'] : $this->getFooService()) && false ?: '_'});
73 * Gets the public 'foo' shared service.
75 * @return \Symfony\Component\DependencyInjection\Tests\Dumper\FooForDeepGraph
77 protected function getFooService()
79 $a = ${($_ = isset($this->services['bar']) ? $this->services['bar'] : $this->getBarService()) && false ?: '_'};
81 if (isset($this->services['foo'])) {
82 return $this->services['foo'];
87 $c->p3 = new \stdClass();
91 return $this->services['foo'] = new \Symfony\Component\DependencyInjection\Tests\Dumper\FooForDeepGraph($a, $b);