/** * @param DirectRequest $directRequest * @param HttpRequest $httpRequest * @param ServiceReference $service * @param array $arguments * @param mixed $result */ public function __construct(DirectRequest $directRequest, HttpRequest $httpRequest, ServiceReference $service, array $arguments, $result = null) { parent::__construct($directRequest, $httpRequest); $this->service = $service; $this->arguments = $arguments; $this->result = $result; }
/** * @param DirectRequest $directRequest * @param HttpRequest $httpRequest * @param \Exception $exception * @param Response $response * @param ServiceReference|null $service * @param array|null $arguments */ public function __construct(DirectRequest $directRequest, HttpRequest $httpRequest, \Exception $exception, Response $response, ServiceReference $service = null, array $arguments = null) { parent::__construct($directRequest, $httpRequest); $this->exception = $exception; $this->response = $response; $this->service = $service; $this->arguments = $arguments; }
/** * @param DirectRequest $directRequest * @param HttpRequest $httpRequest * @param ServiceReference|null $service * @param array $arguments */ public function __construct(DirectRequest $directRequest, HttpRequest $httpRequest, ServiceReference $service = null, array $arguments = array()) { parent::__construct($directRequest, $httpRequest); $this->service = $service; $this->arguments = $arguments; }