Illuminate\Support\Facades\Facade::swap PHP Метод

swap() публичный статический Метод

Hotswap the underlying instance behind the facade.
public static swap ( mixed $instance ) : void
$instance mixed
Результат void
    public static function swap($instance)
    {
        static::$resolvedInstance[static::getFacadeAccessor()] = $instance;
        static::$app->instance(static::getFacadeAccessor(), $instance);
    }