reason = $reason; parent::__construct(array('BADREQUEST', '%REASON%' => $this->reason)); $this->httpCode = 400; } /** * Retrieve the reason why the request was invalid. * * @return string The reason why the request was invalid. */ public function getReason() { return $this->reason; } }