public function getQrCodeContent($messageOrParams, $extension = null, $size = null, $padding = null)
    {
        if ($messageOrParams instanceof Params) {
            $extension          = $messageOrParams->fromRoute('extension', $this->options->getExtension());
            $size               = $messageOrParams->fromRoute('size', $this->options->getSize());
            $padding            = $messageOrParams->fromRoute('padding', $this->options->getPadding());
            $messageOrParams    = $messageOrParams->fromRoute('message');
        } else {
            $extension  = isset($extension) ? $extension : $this->options->getExtension();
            $size       = isset($size) ? $size : $this->options->getSize();
            $padding    = isset($padding) ? $padding : $this->options->getPadding();
        }

        $qrCode = new QrCode($messageOrParams);
        $qrCode->setImageType($extension);
        $qrCode->setSize($size);
        $qrCode->setPadding($padding);
        return $qrCode->get();
    }