mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 14:01:22 +01:00
SwissQR: add Sprain\SwissQrBill and dependencies
This commit is contained in:
29
htdocs/includes/endroid/qr-code/src/QrCodeInterface.php
Normal file
29
htdocs/includes/endroid/qr-code/src/QrCodeInterface.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user