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