1 # http\Message http\Message::setResponseCode(int $response_code[, bool $strict = true])
3 Set the response status code.
4 See http\Message::getResponseCode() and http\Message::setResponseStatus().
7 > This method also resets the response status phrase to the default for that code.
13 * Optional bool $strict = true
14 Whether to check that the response code is between 100 and 599 inclusive.
22 * http\Exception\InvalidArgumentException
23 * http\Exception\BadMethodCallException