original_string: public static function swap($instance)
      {
          static::$resolvedInstance[static::getFacadeAccessor()] = $instance;
  
          if (isset(static::$app)) {
              static::$app->instance(static::getFacadeAccessor(), $instance);
          }
      }
code: public static function swap($instance)
      {
          static::$resolvedInstance[static::getFacadeAccessor()] = $instance;
  
          if (isset(static::$app)) {
              static::$app->instance(static::getFacadeAccessor(), $instance);
          }
      }
code_tokens: public static function swap ( $ instance ) { static :: $ resolvedInstance [ static :: getFacadeAccessor ( ) ] = $ instance ; if ( isset ( static :: $ app ) ) { static :: $ app -> instance ( static :: getFacadeAccessor ( ) , $ instance ) ; } }
docstring: Hotswap the underlying instance behind the facade.
  
  @param  mixed  $instance
  @return void
docstring_tokens: Hotswap the underlying instance behind the facade .