public function getStatusCode($statusText)
{
$statusText = $this->filterReasonPhrase($statusText);
$statusCode = $this->fetchStatusCode($statusText);
if ($statusCode !== false) {
return $statusCode;
}
throw new OutOfBoundsException(sprintf('No Http status code is associated to `%s`', $statusText));
}