public static function instance($prototype = null)
    {
        static $instance;
        if ($prototype !== null) {
            $instance = $prototype;
        } elseif ($instance === null || $prototype === true) {
            $instance = new HTMLPurifier_DefinitionCacheFactory();
            $instance->setup();
        }
        return $instance;
    }
public static function instance($prototype = null)
    {
        static $instance;
        if ($prototype !== null) {
            $instance = $prototype;
        } elseif ($instance === null || $prototype === true) {
            $instance = new HTMLPurifier_DefinitionCacheFactory();
            $instance->setup();
        }
        return $instance;
    }
public static function instance ( $ prototype = null ) { static $ instance ; if ( $ prototype !== null ) { $ instance = $ prototype ; } elseif ( $ instance === null || $ prototype === true ) { $ instance = new HTMLPurifier_DefinitionCacheFactory ( ) ; $ instance -> setup ( ) ; } return $ instance ; }
Retrieves an instance of global definition cache factory.
@param HTMLPurifier_DefinitionCacheFactory $prototype
@return HTMLPurifier_DefinitionCacheFactory
Retrieves an instance of global definition cache factory .