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 'depends_on_request' => 'getDependsOnRequestService',
30 'request' => 'getRequestService',
35 * Gets the 'depends_on_request' service.
37 * This service is shared.
38 * This method always returns the same instance of the service.
40 * @return \stdClass A stdClass instance
42 protected function getDependsOnRequestService()
44 $this->services['depends_on_request'] = $instance = new \stdClass();
46 $instance->setRequest($this->get('request', ContainerInterface::NULL_ON_INVALID_REFERENCE));
52 * Gets the 'request' service.
54 * This service is shared.
55 * This method always returns the same instance of the service.
57 * @return \Request A Request instance
59 protected function getRequestService()
61 return $this->services['request'] = new \Request();
65 * Updates the 'request' service.
67 protected function synchronizeRequestService()
69 if ($this->initialized('depends_on_request')) {
70 $this->get('depends_on_request')->setRequest($this->get('request', ContainerInterface::NULL_ON_INVALID_REFERENCE));