public withStatus ( integer $code, string $reasonPhrase = '' ) : self | ||
$code | integer | The 3-digit integer result code to set. |
$reasonPhrase | string | The reason phrase to use with the provided status code; if none is provided, implementations MAY use the defaults as suggested in the HTTP specification. |
Результат | self |