src/Neutrino/Support/Facades/Facade.php
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