You are here

public function SetCookie::setDiscard in Lockr 7.3

Set whether or not this is a session cookie

Parameters

bool $discard Set to true or false if this is a session cookie:

File

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

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function setDiscard($discard) {
  $this->data['Discard'] = $discard;
}