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

Breadcrumb

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

function ResponseHeaderBag::initDate

3 calls to ResponseHeaderBag::initDate()
ResponseHeaderBag::remove in vendor/symfony/http-foundation/ResponseHeaderBag.php
Removes a header.
ResponseHeaderBag::replace in vendor/symfony/http-foundation/ResponseHeaderBag.php
Replaces the current HTTP headers by a new set.
ResponseHeaderBag::__construct in vendor/symfony/http-foundation/ResponseHeaderBag.php

File

vendor/symfony/http-foundation/ResponseHeaderBag.php, line 267

Class

ResponseHeaderBag
ResponseHeaderBag is a container for Response HTTP headers.

Namespace

Symfony\Component\HttpFoundation

Code

private function initDate() : void {
    $this->set('Date', gmdate('D, d M Y H:i:s') . ' GMT');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal