$url)); } else { parent::__construct(array('NOTFOUNDREASON', '%URL%' => $url, '%REASON%' => $reason)); } $this->reason = $reason; $this->httpCode = 404; } /** * Retrieve the reason why the given page could not be found. * * @return string|NULL The reason why the page could not be found. */ public function getReason() { return $this->reason; } }