src/AbstractWebApplication.php
protected function getHttpStatusValue($value)
	{
		$code = (int) $value;

		if (array_key_exists($code, $this->responseMap))
		{
			$value = $this->responseMap[$code];
		}
		else
		{
			$value = 'HTTP/{version} ' . $code;
		}

		return str_replace('{version}', $this->httpVersion, $value);
	}
protected function getHttpStatusValue($value)
	{
		$code = (int) $value;

		if (array_key_exists($code, $this->responseMap))
		{
			$value = $this->responseMap[$code];
		}
		else
		{
			$value = 'HTTP/{version} ' . $code;
		}

		return str_replace('{version}', $this->httpVersion, $value);
	}
protected function getHttpStatusValue ( $ value ) { $ code = ( int ) $ value ; if ( array_key_exists ( $ code , $ this -> responseMap ) ) { $ value = $ this -> responseMap [ $ code ] ; } else { $ value = 'HTTP/{version} ' . $ code ; } return str_replace ( '{version}' , $ this -> httpVersion , $ value ) ; }
Check if a given value can be successfully mapped to a valid http status value

@param   string|int  $value  The given status as int or string

@return  string

@since   1.8.0
Check if a given value can be successfully mapped to a valid http status value