fix: add QRCodeGeneratorException

This commit is contained in:
2024-01-18 14:22:27 +01:00
parent 264e0260cf
commit beb7b06bf4
2 changed files with 11 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace App\Service;
use App\Entity\QRCode\QRCode;
use App\Service\Exception\QRCodeGeneratorException;
interface QRCodeGeneratorInterface
{
@@ -11,6 +12,7 @@ interface QRCodeGeneratorInterface
* Generates QR code from entity
* @param QRCode $entity
* @return string base64 encoded PNG
* @throws QRCodeGeneratorException
*/
public function generateQRCodeFromEntity(QRCode $entity): string;
}