You are here

public function SetCookie::setSecure in Lockr 7.3

Set whether or not the cookie is secure

Parameters

bool $secure Set to true or false if secure:

File

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

Class

SetCookie
Set-Cookie object

Namespace

GuzzleHttp\Cookie

Code

public function setSecure($secure) {
  $this->data['Secure'] = $secure;
}