public function getCode($key) { return isset($this->responseCodes[$key]) ? $this->responseCodes[$key] : null; }