Checks whether the cookie should only be transmitted over a secure HTTPS connection from the client.
@api
Return value
Boolean
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Cookie.php, line 180
Class
- Cookie
- Represents a cookie
Namespace
Symfony\Component\HttpFoundation
Code
public function isSecure() {
return $this->secure;
}