public static function instance($prototype = false)
    {
        // no references, since PHP doesn't copy unless modified
        static $instance = null;
        if ($prototype) {
            $instance = $prototype;
        } elseif (!$instance) {
            $instance = new HTMLPurifier_EntityLookup();
            $instance->setup();
        }
        return $instance;
    }
public static function instance($prototype = false)
    {
        // no references, since PHP doesn't copy unless modified
        static $instance = null;
        if ($prototype) {
            $instance = $prototype;
        } elseif (!$instance) {
            $instance = new HTMLPurifier_EntityLookup();
            $instance->setup();
        }
        return $instance;
    }
public static function instance ( $ prototype = false ) { // no references, since PHP doesn't copy unless modified
 static $ instance = null ; if ( $ prototype ) { $ instance = $ prototype ; } elseif ( ! $ instance ) { $ instance = new HTMLPurifier_EntityLookup ( ) ; $ instance -> setup ( ) ; } return $ instance ; }
Retrieves sole instance of the object.
@param bool|HTMLPurifier_EntityLookup $prototype Optional prototype of custom lookup table to overload with.
@return HTMLPurifier_EntityLookup
Retrieves sole instance of the object .