/** * __construct function. * * Loads dependencies and sets cache directory, status and expiry time. * * @access public * @param mixed $config * @param mixed $cache_dir * @return void */ public function __construct($request, $config, $cache_dir) { parent::__construct($config, $cache_dir); $this->request = $request; $this->status = $this->config->defaults['page_caching']['status']; $this->expiry = $this->config->defaults['page_caching']['expiry']; }
/** * __construct function. * * Loads dependencies and sets cache directory, status and expiry time. * * @access public * @param mixed $config * @param mixed $cache_dir * @return void */ public function __construct($config, $cache_dir) { parent::__construct($config, $cache_dir); $this->status = $this->config->defaults['fragment_caching']['status']; $this->expiry = $this->config->defaults['fragment_caching']['expiry']; }