You are here

public function Cookie::isHttpOnly in Zircon Profile 8

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

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

Return value

bool

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

File

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

Class

Cookie
Represents a cookie.

Namespace

Symfony\Component\HttpFoundation

Code

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