This commit is contained in:
Dennis Eichhorn 2017-09-05 12:00:54 +02:00 committed by GitHub
parent 9472994cf6
commit 3d840501f9

View File

@ -218,6 +218,14 @@ class Header extends HeaderAbstract
{
return $this->header[strtolower($key)] ?? [];
}
/**
* {@inheritdoc}
*/
public function getReasonPhrase() : string
{
return $this->header->getHeader('Status');
}
/**
* Check if header is defined.