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->methodMap = array(
26 'bar' => 'getBarService',
27 'foo' => 'getFooService',
29 $this->privates = array(
34 $this->aliases = array();
37 public function getRemovedIds()
40 'Psr\\Container\\ContainerInterface' => true,
41 'Symfony\\Component\\DependencyInjection\\ContainerInterface' => true,
47 public function compile()
49 throw new LogicException('You cannot compile a dumped container that was already compiled.');
52 public function isCompiled()
57 public function isFrozen()
59 @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);
64 protected function createProxy($class, \Closure $factory)
70 * Gets the private 'bar' shared service.
74 protected function getBarService()
76 return $this->services['bar'] = new \stdClass(${($_ = isset($this->services['foo']) ? $this->services['foo'] : $this->getFooService()) && false ?: '_'});
80 * Gets the private 'foo' service.
84 protected function getFooService($lazyLoad = true)
86 // lazy factory for stdClass
88 return new \stdClass();
92 // proxy code for stdClass