public static function register($scheme = 'gaufrette')
    {
        static::streamWrapperUnregister($scheme);

        if (!static::streamWrapperRegister($scheme, __CLASS__)) {
            throw new \RuntimeException(sprintf(
                'Could not register stream wrapper class %s for scheme %s.',
                __CLASS__,
                $scheme
            ));
        }
    }
public static function register($scheme = 'gaufrette')
    {
        static::streamWrapperUnregister($scheme);

        if (!static::streamWrapperRegister($scheme, __CLASS__)) {
            throw new \RuntimeException(sprintf(
                'Could not register stream wrapper class %s for scheme %s.',
                __CLASS__,
                $scheme
            ));
        }
    }
public static function register ( $ scheme = 'gaufrette' ) { static :: streamWrapperUnregister ( $ scheme ) ; if ( ! static :: streamWrapperRegister ( $ scheme , __CLASS__ ) ) { throw new \ RuntimeException ( sprintf ( 'Could not register stream wrapper class %s for scheme %s.' , __CLASS__ , $ scheme ) ) ; } }
Registers the stream wrapper to handle the specified scheme.

@param string $scheme Default is gaufrette
Registers the stream wrapper to handle the specified scheme .