Get the code for a given status text.
public getStatusCode ( string $statusText ) : string | ||
$statusText | string | http status text |
return | string | Returns code for the given status text |
public getStatusCode ( string $statusText ) : string | ||
$statusText | string | http status text |
return | string | Returns code for the given status text |