public static function get($config = []) {
        $key = md5(get_called_class() . serialize($config));
        if (!isset(self::$_instances[$key]))
            self::$_instances[$key] = new static($config);
        return self::$_instances[$key];
    }
public static function get($config = []) {
        $key = md5(get_called_class() . serialize($config));
        if (!isset(self::$_instances[$key]))
            self::$_instances[$key] = new static($config);
        return self::$_instances[$key];
    }
public static function get ( $ config = [ ] ) { $ key = md5 ( get_called_class ( ) . serialize ( $ config ) ) ; if ( ! isset ( self :: $ _instances [ $ key ] ) ) self :: $ _instances [ $ key ] = new static ( $ config ) ; return self :: $ _instances [ $ key ] ; }
Return a instance for helper.

@param array $config
@return static
Return a instance for helper .