function HeaderBag::getCacheControlHeader
3 calls to HeaderBag::getCacheControlHeader()
- HeaderBag::addCacheControlDirective in vendor/
symfony/ http-foundation/ HeaderBag.php - Adds a custom Cache-Control directive.
- HeaderBag::removeCacheControlDirective in vendor/
symfony/ http-foundation/ HeaderBag.php - Removes a Cache-Control directive.
- ResponseHeaderBag::computeCacheControlValue in vendor/
symfony/ http-foundation/ ResponseHeaderBag.php - Returns the calculated value of the cache-control header.
File
-
vendor/
symfony/ http-foundation/ HeaderBag.php, line 257
Class
- HeaderBag
- HeaderBag is a container for HTTP headers.
Namespace
Symfony\Component\HttpFoundationCode
protected function getCacheControlHeader() : string {
ksort($this->cacheControl);
return HeaderUtils::toString($this->cacheControl, ',');
}