You are here

public function Cookie::isSecure in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/Cookie.php \Symfony\Component\HttpFoundation\Cookie::isSecure()
  2. 8 vendor/symfony/browser-kit/Cookie.php \Symfony\Component\BrowserKit\Cookie::isSecure()
  3. 8 vendor/jcalderonzumba/gastonjs/src/Cookie.php \Zumba\GastonJS\Cookie::isSecure()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Cookie.php \Symfony\Component\HttpFoundation\Cookie::isSecure()

Checks whether the cookie should only be transmitted over a secure HTTPS connection from the client.

Return value

bool

1 call to Cookie::isSecure()
Cookie::__toString in vendor/symfony/http-foundation/Cookie.php
Returns the cookie as a string.

File

vendor/symfony/http-foundation/Cookie.php, line 166

Class

Cookie
Represents a cookie.

Namespace

Symfony\Component\HttpFoundation

Code

public function isSecure() {
  return $this->secure;
}