public function Response::isInvalid in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::isInvalid()
Is response invalid?
Return value
bool
1 call to Response::isInvalid()
- Response::setStatusCode in vendor/
symfony/ http-foundation/ Response.php - Sets the response status code.
File
- vendor/
symfony/ http-foundation/ Response.php, line 1028
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function isInvalid() {
return $this->statusCode < 100 || $this->statusCode >= 600;
}