You are here

public function SetCookie::setName in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php \GuzzleHttp\Cookie\SetCookie::setName()

Set the cookie name

Parameters

string $name Cookie name:

File

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

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function setName($name) {
  $this->data['Name'] = $name;
}