Response setStatusCode(int $code, mixed $text = null)
Sets the response status code.
Response setStatusCode(int $code, mixed $text = null)
Sets the response status code.
int | $code | HTTP status code |
mixed | $text | HTTP status text If the status text is null it will be automatically populated for the known status codes and left empty otherwise. |
Response |
InvalidArgumentException | When the HTTP status code is not valid |
Designed by : w10schools
service@w10schools.com
Please login to continue.