protected function fetchStatusCode($text) { return array_search(strtolower($text), array_map('strtolower', $this->httpStatus)); }