protected fetchStatusCode ( string $text ) : mixed | ||
$text | string | the reason phrase |
return | mixed |
protected function fetchStatusCode($text)
{
return array_search(strtolower($text), array_map('strtolower', $this->httpStatus));
}