2017-01-10 07:04:52 +00:00
|
|
|
<?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.
|
2017-01-12 22:13:34 +00:00
|
|
|
*
|
|
|
|
* @final since Symfony 3.3
|
2017-01-10 07:04:52 +00:00
|
|
|
*/
|
|
|
|
class ProjectServiceContainer extends Container
|
|
|
|
{
|
|
|
|
private $parameters;
|
|
|
|
private $targetDirs = array();
|
2017-07-17 21:21:41 +01:00
|
|
|
private $privates = array();
|
2017-01-10 07:04:52 +00:00
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
{
|
2017-07-17 21:21:41 +01:00
|
|
|
$this->services = $this->privates = array();
|
2017-01-10 07:04:52 +00:00
|
|
|
$this->methodMap = array(
|
2017-08-02 16:07:40 +01:00
|
|
|
'Bar\\Foo' => 'getFooService',
|
|
|
|
'Foo\\Foo' => 'getFoo2Service',
|
2017-01-10 07:04:52 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
$this->aliases = array();
|
|
|
|
}
|
|
|
|
|
2017-07-24 15:06:58 +01:00
|
|
|
public function reset()
|
|
|
|
{
|
|
|
|
$this->privates = array();
|
|
|
|
parent::reset();
|
|
|
|
}
|
|
|
|
|
2017-01-10 07:04:52 +00:00
|
|
|
public function compile()
|
|
|
|
{
|
2016-08-19 13:18:08 +01:00
|
|
|
throw new LogicException('You cannot compile a dumped container that was already compiled.');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function isCompiled()
|
|
|
|
{
|
|
|
|
return true;
|
2017-01-10 07:04:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2017-08-02 16:07:40 +01:00
|
|
|
* Gets the public 'Bar\Foo' shared service.
|
2017-01-10 07:04:52 +00:00
|
|
|
*
|
2017-08-02 16:07:40 +01:00
|
|
|
* @return \Bar\Foo
|
2017-01-10 07:04:52 +00:00
|
|
|
*/
|
2017-08-02 16:07:40 +01:00
|
|
|
protected function getFooService()
|
2017-01-10 07:04:52 +00:00
|
|
|
{
|
2017-08-02 16:07:40 +01:00
|
|
|
return $this->services['Bar\Foo'] = new \Bar\Foo();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the public 'Foo\Foo' shared service.
|
|
|
|
*
|
|
|
|
* @return \Foo\Foo
|
|
|
|
*/
|
|
|
|
protected function getFoo2Service()
|
|
|
|
{
|
|
|
|
return $this->services['Foo\Foo'] = new \Foo\Foo();
|
2017-01-10 07:04:52 +00:00
|
|
|
}
|
|
|
|
}
|