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));
    }