public function AuthcacheP13nAddCacheControlHeaderFilter::__construct in Authenticated User Page Caching (Authcache) 7.2
Construct a new instance.
File
- modules/
authcache_p13n/ includes/ AuthcacheP13nAddCacheControlHeaderFilter.inc, line 33 - Defines request filter for adding HTTP cache-control headers.
Class
- AuthcacheP13nAddCacheControlHeaderFilter
- Request filter for adding HTTP cache-control headers.
Code
public function __construct(AuthcacheP13nCoreServiceInterface $core_service, $cache_maxage, AuthcacheP13nCacheGranularity $cache_granularity) {
$this->coreService = $core_service;
$this->cacheMaxage = $cache_maxage;
$this->cacheGranularity = $cache_granularity;
}