Lukasoppermann\Httpstatus\Httpstatus::fetchStatusCode PHP Метод

fetchStatusCode() защищенный Метод

Fetch the status code for a given reason phrase.
protected fetchStatusCode ( string $text ) : mixed
$text string the reason phrase
Результат mixed
    protected function fetchStatusCode($text)
    {
        return array_search(strtolower($text), array_map('strtolower', $this->httpStatus));
    }