29 $decorator = $this->
copy();
31 $decorator->cache =&
$cache;
32 $decorator->type =
$cache->type;
50 public function add($def, $config)
52 return $this->cache->add($def, $config);
60 public function set($def, $config)
62 return $this->cache->set($def, $config);
72 return $this->cache->replace($def, $config);
79 public function get($config)
81 return $this->cache->get($config);
88 public function remove($config)
90 return $this->cache->remove($config);
99 return $this->cache->flush($config);
108 return $this->cache->cleanup($config);
Abstract class representing Definition cache managers that implements useful common methods and is a ...
decorate(&$cache)
Lazy decorator function.
copy()
Cross-compatible clone substitute.
$cache
Cache object we are decorating HTMLPurifier_DefinitionCache.