Sets the response status code.
public setStatusCode ( integer $code, mixed $text = null ) : |
||
$code | integer | HTTP status code |
$text | mixed | HTTP status text If the status text is null it will be automatically populated for the known status codes and left empty otherwise. |
리턴 |