public function __construct(HttpKernelInterface $kernel, Request $request, $requestType, $controllerResult)
 {
     parent::__construct($kernel, $request, $requestType);
     $this->controllerResult = $controllerResult;
 }
 /**
  * @param HttpKernelInterface $kernel
  * @param RequestStack $requestStack
  */
 public function __construct(HttpKernelInterface $kernel, RequestStack $requestStack)
 {
     parent::__construct($kernel, $requestStack->getCurrentRequest(), HttpKernelInterface::MASTER_REQUEST);
 }
Пример #3
0
 public function __construct(HttpKernelInterface $kernel, Request $request, $requestType, \Exception $e)
 {
     parent::__construct($kernel, $request, $requestType);
     $this->setException($e);
 }
Пример #4
0
 public function __construct(Request $request)
 {
     parent::__construct(new NullHttpKernel(), $request, HttpKernelInterface::MASTER_REQUEST);
 }