public function getReasonPhrase()
    {
        $code = $this->getStatusCode();

        if ($this->reasonPhrase === null && isset($this->phrases[$code]))
        {
            return $this->phrases[$code];
        }

        return (string) $this->reasonPhrase;
    }
public function getReasonPhrase()
    {
        $code = $this->getStatusCode();

        if ($this->reasonPhrase === null && isset($this->phrases[$code]))
        {
            return $this->phrases[$code];
        }

        return (string) $this->reasonPhrase;
    }
public function getReasonPhrase ( ) { $ code = $ this -> getStatusCode ( ) ; if ( $ this -> reasonPhrase === null && isset ( $ this -> phrases [ $ code ] ) ) { return $ this -> phrases [ $ code ] ; } return ( string ) $ this -> reasonPhrase ; }
Gets the value of reasonPhrase.

@return Psr\Http\Message\StreamInterface
Gets the value of reasonPhrase .