- parent::__construct();
-
- //Store doctrine
- $this->doctrine = $doctrine;
-
- //Set lifetime
- $this->lifetime = $lifetime;
-
- //Set namespace
- $this->namespace = $namespace;
-
- //Set path
- $this->path = $path;
-
- //Store router
- $this->router = $router;
-
- //Retrieve slugger
- $this->slugger = $slugger;
-
- //Get router context
- $context = $this->router->getContext();
-
- //Set host
- $context->setHost('airlibre.eu');
-
- //Set scheme
- $context->setScheme('https');
-
- //Set the translator
- $this->translator = $translator;
+ parent::__construct($this->doctrine, $this->router, $this->slugger, $this->translator, $this->locale);