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);
    }