예제 #1
0
 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;
 }
예제 #2
0
 public function __construct(Application $app, RequestContextAwareInterface $router = null)
 {
     parent::__construct($app['locale'], $router);
     $this->app = $app;
 }
예제 #3
0
 public function __construct(Container $app, RequestContextAwareInterface $router = null, RequestStack $requestStack = null)
 {
     parent::__construct($app['locale'], $router, $requestStack);
     $this->app = $app;
 }