public function Cookie::getPath

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

@api

Return value

string

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Cookie.php, line 170

Class

Cookie
Represents a cookie

Namespace

Symfony\Component\HttpFoundation

Code

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