libreqr/vendor/endroid/qr-code/src/QrCodeInterface.php

30 lines
759 B
PHP

<?php
declare(strict_types=1);
namespace Endroid\QrCode;
use Endroid\QrCode\Color\ColorInterface;
use Endroid\QrCode\Encoding\EncodingInterface;
use Endroid\QrCode\ErrorCorrectionLevel\ErrorCorrectionLevelInterface;
use Endroid\QrCode\RoundBlockSizeMode\RoundBlockSizeModeInterface;
interface QrCodeInterface
{
public function getData(): string;
public function getEncoding(): EncodingInterface;
public function getErrorCorrectionLevel(): ErrorCorrectionLevelInterface;
public function getSize(): int;
public function getMargin(): int;
public function getRoundBlockSizeMode(): RoundBlockSizeModeInterface;
public function getForegroundColor(): ColorInterface;
public function getBackgroundColor(): ColorInterface;
}