You are here

public function Response::isInformational in Zircon Profile 8

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

Is response informative?

Return value

bool

1 call to Response::isInformational()
Response::prepare in vendor/symfony/http-foundation/Response.php
Prepares the Response before it is sent to the client.

File

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

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

public function isInformational() {
  return $this->statusCode >= 100 && $this->statusCode < 200;
}