public function addErrorPage($errorCodePattern, $errorLocation) { $this->errorPages->set($errorCodePattern, $errorLocation); }