public function AuthcacheP13nDefaultRequestHandler::__construct in Authenticated User Page Caching (Authcache) 7.2
Construct a new instance.
File
- modules/
authcache_p13n/ includes/ AuthcacheP13nDefaultRequestHandler.inc, line 56 - Defines default request handler class
Class
- AuthcacheP13nDefaultRequestHandler
- Default request handler class for personalized fragments.
Code
public function __construct(AuthcacheP13nCoreServiceInterface $core_service, AuthcacheP13nRequestValidatorInterface $request_validator, AuthcacheP13nContentBuilderInterface $content_builder, AuthcacheP13nContentEncoderInterface $content_encoder, array $filters, array $context_providers) {
$this->coreService = $core_service;
$this->requestValidator = $request_validator;
$this->contentBuilder = $content_builder;
$this->contentEncoder = $content_encoder;
$this->filters = $filters;
$this->contextProviders = $context_providers;
}