3 use Symfony\Component\DependencyInjection\ContainerInterface;
4 use Symfony\Component\DependencyInjection\Container;
5 use Symfony\Component\DependencyInjection\Exception\InactiveScopeException;
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\ParameterBag;
12 * ProjectServiceContainer.
14 * This class has been auto-generated
15 * by the Symfony Dependency Injection Component.
17 class ProjectServiceContainer extends Container
20 private $targetDirs = array();
25 public function __construct()
27 parent::__construct();
28 $this->methodMap = array(
29 'foo' => 'getFooService',
34 * Gets the 'foo' service.
36 * This service is shared.
37 * This method always returns the same instance of the service.
39 * This service is autowired.
41 * @return \Foo A Foo instance
43 protected function getFooService()
45 return $this->services['foo'] = new \Foo();