Checks whether the cookie will be made accessible only through the HTTP protocol.
@api
Return value
Boolean
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;
}