symfony_example_app/src/Service/QRCodeGeneratorInterface.php
Ondrej Vlach 64a07b232a
feat: add stub implementation for image
QRCodeFromEntity

fix: base64 StubQRCodeGenerator
2024-01-17 19:05:54 +01:00

17 lines
319 B
PHP

<?php
declare(strict_types=1);
namespace App\Service;
use App\Entity\QRCode\QRCode;
interface QRCodeGeneratorInterface
{
/**
* Generates QR code from entity
* @param QRCode $entity
* @return string base64 encoded PNG
*/
public function generateQRCodeFromEntity(QRCode $entity): string;
}