public function Cookie::isHttpOnly

Checks whether the cookie will be made accessible only through the HTTP protocol.

@api

Return value

Boolean

1 call to Cookie::isHttpOnly()
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 192

Class

Cookie
Represents a cookie

Namespace

Symfony\Component\HttpFoundation

Code

public function isHttpOnly() {
  return $this->httpOnly;
}