public function Response::isOk in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::isOk()
Is the response OK?
Return value
bool
File
- vendor/
symfony/ http-foundation/ Response.php, line 1088
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function isOk() {
return 200 === $this->statusCode;
}