public function __construct(Application $app, RequestContextAwareInterface $router = null, RequestStack $requestStack = null)
 {
     if (Kernel::VERSION_ID >= 20800) {
         parent::__construct($requestStack, $app['locale'], $router);
     } else {
         parent::__construct($app['locale'], $router, $requestStack);
     }
     $this->app = $app;
 }
 public function __construct(Application $app, RequestContextAwareInterface $router = null)
 {
     parent::__construct($app['locale'], $router);
     $this->app = $app;
 }
Example #3
0
 public function __construct(Container $app, RequestContextAwareInterface $router = null, RequestStack $requestStack = null)
 {
     parent::__construct($app['locale'], $router, $requestStack);
     $this->app = $app;
 }