public function Cookie::isSecure

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

@api

Return value

Boolean

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

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Cookie.php, line 182

Class

Cookie
Represents a cookie

Namespace

Symfony\Component\HttpFoundation

Code

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