refactor: qr-code filter

This commit is contained in:
Benjamin Nussbaum 2026-01-15 22:19:03 +01:00
parent e660da46fb
commit 33b1083770
4 changed files with 174 additions and 22 deletions

24
app/Facades/QrCode.php Normal file
View file

@ -0,0 +1,24 @@
<?php
namespace App\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @method static \App\Services\QrCodeService format(string $format)
* @method static \App\Services\QrCodeService size(int $size)
* @method static \App\Services\QrCodeService errorCorrection(string $level)
* @method static string generate(string $text)
*
* @see \App\Services\QrCodeService
*/
class QrCode extends Facade
{
/**
* Get the registered name of the component.
*/
protected static function getFacadeAccessor(): string
{
return 'qr-code';
}
}