fix: add QRCodeGeneratorException
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user