You are here

public function SetCookie::setPath in Lockr 7.3

Set the path of the cookie

Parameters

string $path Path of the cookie:

File

vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php, line 180

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function setPath($path) {
  $this->data['Path'] = $path;
}