public function HeaderBag::hasCacheControlDirective

1 method overrides HeaderBag::hasCacheControlDirective()
ResponseHeaderBag::hasCacheControlDirective in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/ResponseHeaderBag.php

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/HeaderBag.php, line 250

Class

HeaderBag
HeaderBag is a container for HTTP headers.

Namespace

Symfony\Component\HttpFoundation

Code

public function hasCacheControlDirective($key) {
  return array_key_exists($key, $this->cacheControl);
}