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().
6 > **Note:** This method also resets the response status phrase to the default for that code.
12 * Optional bool $strict = true
13 Whether to check that the response code is between 100 and 599 inclusive.
21 * http\Exception\InvalidArgumentException
22 * http\Exception\BadMethodCallException