You are here

public function SetCookie::setDiscard in Zircon Profile 8.0

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

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 263

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

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