File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/HeaderBag.php, line 243
Class
- HeaderBag
- HeaderBag is a container for HTTP headers.
Namespace
Symfony\Component\HttpFoundation
Code
public function addCacheControlDirective($key, $value = true) {
$this->cacheControl[$key] = $value;
$this
->set('Cache-Control', $this
->getCacheControlHeader());
}