public function decorate(&$cache)
    {
        $decorator = $this->copy();
        // reference is necessary for mocks in PHP 4
        $decorator->cache =& $cache;
        $decorator->type = $cache->type;
        return $decorator;
    }
public function decorate(&$cache)
    {
        $decorator = $this->copy();
        // reference is necessary for mocks in PHP 4
        $decorator->cache =& $cache;
        $decorator->type = $cache->type;
        return $decorator;
    }
public function decorate ( & $ cache ) { $ decorator = $ this -> copy ( ) ; // reference is necessary for mocks in PHP 4
 $ decorator -> cache = & $ cache ; $ decorator -> type = $ cache -> type ; return $ decorator ; }
Lazy decorator function
@param HTMLPurifier_DefinitionCache $cache Reference to cache object to decorate
@return HTMLPurifier_DefinitionCache_Decorator
Lazy decorator function