Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Response.php

function Response::isInformational

Is response informative?

@final

2 calls to Response::isInformational()
BinaryFileResponse::prepare in vendor/symfony/http-foundation/BinaryFileResponse.php
Prepares the Response before it is sent to the client.
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 1167

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

public function isInformational() : bool {
    return $this->statusCode >= 100 && $this->statusCode < 200;
}
RSS feed
Powered by Drupal