You are here

public function Cookie::getPath in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/Cookie.php \Symfony\Component\HttpFoundation\Cookie::getPath()
  2. 8 vendor/symfony/browser-kit/Cookie.php \Symfony\Component\BrowserKit\Cookie::getPath()
  3. 8 vendor/jcalderonzumba/gastonjs/src/Cookie.php \Zumba\GastonJS\Cookie::getPath()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Cookie.php \Symfony\Component\HttpFoundation\Cookie::getPath()

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

Return value

string

File

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

Class

Cookie
Represents a cookie.

Namespace

Symfony\Component\HttpFoundation

Code

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