public function HeaderBag::getCacheControlDirective

1 method overrides HeaderBag::getCacheControlDirective()
ResponseHeaderBag::getCacheControlDirective 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 255

Class

HeaderBag
HeaderBag is a container for HTTP headers.

Namespace

Symfony\Component\HttpFoundation

Code

public function getCacheControlDirective($key) {
  return array_key_exists($key, $this->cacheControl) ? $this->cacheControl[$key] : null;
}