public static function swap($instance)
    {
        self::$resolvedInstance[static::getFacadeAccessor()] = $instance;

        static::$di->setShared(static::getFacadeAccessor(), $instance);
    }
public static function swap($instance)
    {
        self::$resolvedInstance[static::getFacadeAccessor()] = $instance;

        static::$di->setShared(static::getFacadeAccessor(), $instance);
    }
public static function swap ( $ instance ) { self :: $ resolvedInstance [ static :: getFacadeAccessor ( ) ] = $ instance ; static :: $ di -> setShared ( static :: getFacadeAccessor ( ) , $ instance ) ; }
Hotswap the underlying instance behind the facade.

@param  mixed $instance

@return void
Hotswap the underlying instance behind the facade .