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 ();
public function __construct ()
{
$this -> services = array ();
$this -> normalizedIds = array (
2017-08-02 16:07:40 +01:00
'bar\\foo' => 'Bar\\Foo' ,
'foo\\foo' => 'Foo\\Foo' ,
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 ();
}
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
}
public function isFrozen ()
{
2016-08-19 13:18:08 +01:00
@ trigger_error ( sprintf ( 'The %s() method is deprecated since version 3.3 and will be removed in 4.0. Use the isCompiled() method instead.' , __METHOD__ ), E_USER_DEPRECATED );
2017-01-10 07:04:52 +00:00
return true ;
}
/**
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
}
}