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

Breadcrumb

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

function Cookie::setSecureDefault

Parameters

bool $default The default value of the "secure" flag when it is set to null:

File

vendor/symfony/http-foundation/Cookie.php, line 401

Class

Cookie
Represents a cookie.

Namespace

Symfony\Component\HttpFoundation

Code

public function setSecureDefault(bool $default) : void {
    $this->secureDefault = $default;
}

API Navigation

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