You are here

public function AuthcacheP13nFragmentBuilder::__construct in Authenticated User Page Caching (Authcache) 7.2

Construct new instance.

Parameters

AuthcacheP13nFragment $fragment: The fragment object to use.

AuthcacheP13nFragmentValidator $validator: (optional) The validator object.

AuthcacheP13nFragmentLoader $loader: The loader object.

AuthcacheP13nFragmentAccess $access: The access checker.

File

modules/authcache_p13n/includes/AuthcacheP13nFragmentBuilder.inc, line 43
Defines AuthcacheP13nFragmentBuilder

Class

AuthcacheP13nFragmentBuilder
Content builder for personalized content fragments.

Code

public function __construct($fragment, $validator, $loader, $access) {
  $this->fragment = $fragment;
  $this->validator = $validator;
  $this->loader = $loader;
  $this->access = $access;
}