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_Legacy_Privates extends Container
20 private $targetDirs = array();
22 public function __construct()
25 for ($i = 1; $i <= 5; ++$i) {
26 $this->targetDirs[$i] = $dir = \dirname($dir);
28 $this->services = array();
29 $this->methodMap = array(
30 'bar' => 'getBarService',
31 'private' => 'getPrivateService',
32 'private_alias' => 'getPrivateAliasService',
33 'private_alias_decorator' => 'getPrivateAliasDecoratorService',
34 'private_child' => 'getPrivateChildService',
35 'private_decorator' => 'getPrivateDecoratorService',
36 'private_not_inlined' => 'getPrivateNotInlinedService',
37 'private_not_removed' => 'getPrivateNotRemovedService',
38 'private_parent' => 'getPrivateParentService',
39 'public_child' => 'getPublicChildService',
41 $this->privates = array(
42 'decorated_private' => true,
43 'decorated_private_alias' => true,
45 'private_alias' => true,
46 'private_child' => true,
47 'private_not_inlined' => true,
48 'private_not_removed' => true,
49 'private_parent' => true,
51 $this->aliases = array(
52 'alias_to_private' => 'private',
53 'decorated_private' => 'private_decorator',
54 'decorated_private_alias' => 'private_alias_decorator',
58 public function getRemovedIds()
61 'Psr\\Container\\ContainerInterface' => true,
62 'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
63 'decorated_private' => true,
64 'decorated_private_alias' => true,
67 'private_alias' => true,
68 'private_alias_decorator.inner' => true,
69 'private_child' => true,
70 'private_decorator.inner' => true,
71 'private_not_inlined' => true,
72 'private_not_removed' => true,
73 'private_parent' => true,
77 public function compile()
79 throw new LogicException('You cannot compile a dumped container that was already compiled.');
82 public function isCompiled()
87 public function isFrozen()
89 @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);
95 * Gets the public 'bar' shared service.
99 protected function getBarService()
101 return $this->services['bar'] = new \stdClass(${($_ = isset($this->services['private_not_inlined']) ? $this->services['private_not_inlined'] : $this->services['private_not_inlined'] = new \stdClass()) && false ?: '_'});
105 * Gets the public 'private_alias_decorator' shared service.
109 protected function getPrivateAliasDecoratorService()
111 return $this->services['private_alias_decorator'] = new \stdClass();
115 * Gets the public 'private_decorator' shared service.
119 protected function getPrivateDecoratorService()
121 return $this->services['private_decorator'] = new \stdClass();
125 * Gets the public 'public_child' shared service.
129 protected function getPublicChildService()
131 return $this->services['public_child'] = new \stdClass();
135 * Gets the private 'private' shared service.
139 protected function getPrivateService()
141 return $this->services['private'] = new \stdClass();
145 * Gets the private 'private_alias' shared service.
149 protected function getPrivateAliasService()
151 return $this->services['private_alias'] = new \stdClass();
155 * Gets the private 'private_child' shared service.
159 protected function getPrivateChildService()
161 return $this->services['private_child'] = new \stdClass();
165 * Gets the private 'private_not_inlined' shared service.
169 protected function getPrivateNotInlinedService()
171 return $this->services['private_not_inlined'] = new \stdClass();
175 * Gets the private 'private_not_removed' shared service.
179 protected function getPrivateNotRemovedService()
181 return $this->services['private_not_removed'] = new \stdClass();
185 * Gets the private 'private_parent' shared service.
189 protected function getPrivateParentService()
191 return $this->services['private_parent'] = new \stdClass();