You are here

public function Response::isNotFound in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::isNotFound()

Is the response a not found error?

Return value

bool

File

vendor/symfony/http-foundation/Response.php, line 1108

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

public function isNotFound() {
  return 404 === $this->statusCode;
}