code: public function getQrCode(User $user, Request $request): string
      {
          $renderer = new ImageRenderer(
              new RendererStyle(180, 0),
              new SvgImageBackEnd()
          );
  
          $writer = new Writer($renderer);
  
          return $writer->writeString($this->getProvisionUri($user, $request));
      }
docs: Generates the QR code as SVG and returns it as a string.