| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <?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 Symfony_DI_PhpDumper_Test_Legacy_Privates extends Container
- {
- private $parameters;
- private $targetDirs = array();
- public function __construct()
- {
- $dir = __DIR__;
- for ($i = 1; $i <= 5; ++$i) {
- $this->targetDirs[$i] = $dir = \dirname($dir);
- }
- $this->services = array();
- $this->methodMap = array(
- 'bar' => 'getBarService',
- 'private' => 'getPrivateService',
- 'private_alias' => 'getPrivateAliasService',
- 'private_alias_decorator' => 'getPrivateAliasDecoratorService',
- 'private_child' => 'getPrivateChildService',
- 'private_decorator' => 'getPrivateDecoratorService',
- 'private_not_inlined' => 'getPrivateNotInlinedService',
- 'private_not_removed' => 'getPrivateNotRemovedService',
- 'private_parent' => 'getPrivateParentService',
- 'public_child' => 'getPublicChildService',
- );
- $this->privates = array(
- 'decorated_private' => true,
- 'decorated_private_alias' => true,
- 'private' => true,
- 'private_alias' => true,
- 'private_child' => true,
- 'private_not_inlined' => true,
- 'private_not_removed' => true,
- 'private_parent' => true,
- );
- $this->aliases = array(
- 'alias_to_private' => 'private',
- 'decorated_private' => 'private_decorator',
- 'decorated_private_alias' => 'private_alias_decorator',
- );
- }
- public function getRemovedIds()
- {
- return array(
- 'Psr\\Container\\ContainerInterface' => true,
- 'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
- 'decorated_private' => true,
- 'decorated_private_alias' => true,
- 'foo' => true,
- 'private' => true,
- 'private_alias' => true,
- 'private_alias_decorator.inner' => true,
- 'private_child' => true,
- 'private_decorator.inner' => true,
- 'private_not_inlined' => true,
- 'private_not_removed' => true,
- 'private_parent' => 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 'bar' shared service.
- *
- * @return \stdClass
- */
- protected function getBarService()
- {
- 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 ?: '_'});
- }
- /**
- * Gets the public 'private_alias_decorator' shared service.
- *
- * @return \stdClass
- */
- protected function getPrivateAliasDecoratorService()
- {
- return $this->services['private_alias_decorator'] = new \stdClass();
- }
- /**
- * Gets the public 'private_decorator' shared service.
- *
- * @return \stdClass
- */
- protected function getPrivateDecoratorService()
- {
- return $this->services['private_decorator'] = new \stdClass();
- }
- /**
- * Gets the public 'public_child' shared service.
- *
- * @return \stdClass
- */
- protected function getPublicChildService()
- {
- return $this->services['public_child'] = new \stdClass();
- }
- /**
- * Gets the private 'private' shared service.
- *
- * @return \stdClass
- */
- protected function getPrivateService()
- {
- return $this->services['private'] = new \stdClass();
- }
- /**
- * Gets the private 'private_alias' shared service.
- *
- * @return \stdClass
- */
- protected function getPrivateAliasService()
- {
- return $this->services['private_alias'] = new \stdClass();
- }
- /**
- * Gets the private 'private_child' shared service.
- *
- * @return \stdClass
- */
- protected function getPrivateChildService()
- {
- return $this->services['private_child'] = new \stdClass();
- }
- /**
- * Gets the private 'private_not_inlined' shared service.
- *
- * @return \stdClass
- */
- protected function getPrivateNotInlinedService()
- {
- return $this->services['private_not_inlined'] = new \stdClass();
- }
- /**
- * Gets the private 'private_not_removed' shared service.
- *
- * @return \stdClass
- */
- protected function getPrivateNotRemovedService()
- {
- return $this->services['private_not_removed'] = new \stdClass();
- }
- /**
- * Gets the private 'private_parent' shared service.
- *
- * @return \stdClass
- */
- protected function getPrivateParentService()
- {
- return $this->services['private_parent'] = new \stdClass();
- }
- }
|