public static function get($config = array()) {
        $hash = md5(serialize($config));
        if (!isset(self::$_instances[$hash]))
            self::$_instances[$hash] = new static($config);
        return self::$_instances[$hash];
    }
public static function get($config = array()) {
        $hash = md5(serialize($config));
        if (!isset(self::$_instances[$hash]))
            self::$_instances[$hash] = new static($config);
        return self::$_instances[$hash];
    }
public static function get ( $ config = array ( ) ) { $ hash = md5 ( serialize ( $ config ) ) ; if ( ! isset ( self :: $ _instances [ $ hash ] ) ) self :: $ _instances [ $ hash ] = new static ( $ config ) ; return self :: $ _instances [ $ hash ] ; }
Return instance of class.
@param string[string] $config
@return AssetsPublisher
Return instance of class .