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

Breadcrumb

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

function Cookie::getPath

Same name in this branch
  1. 11.1.x vendor/symfony/browser-kit/Cookie.php \Symfony\Component\BrowserKit\Cookie::getPath()

Gets the path on the server in which the cookie will be available on.

1 call to Cookie::getPath()
Cookie::__toString in vendor/symfony/http-foundation/Cookie.php
Returns the cookie as a string.

File

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

Class

Cookie
Represents a cookie.

Namespace

Symfony\Component\HttpFoundation

Code

public function getPath() : string {
    return $this->path;
}

API Navigation

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