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/jcalderonzumba/gastonjs/src/Cookie.php \Zumba\GastonJS\Cookie::isHttpOnly()

Is http only cookie?

Return value

bool

File

vendor/jcalderonzumba/gastonjs/src/Cookie.php, line 64

Class

Cookie
Class Cookie @package Zumba\GastonJS

Namespace

Zumba\GastonJS

Code

public function isHttpOnly() {
  return isset($this->attributes['httponly']);
}