Visitor management app with SSO, kiosk, badges, reports, and Gitea CI deploy to frontdesk.ladill.com. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
379 B
PHP
20 lines
379 B
PHP
<?php
|
|
|
|
namespace App\Services\Printers;
|
|
|
|
use App\Contracts\Printers\PrinterDriverInterface;
|
|
use App\Models\Visit;
|
|
|
|
class BrotherPrinterDriver implements PrinterDriverInterface
|
|
{
|
|
public function name(): string
|
|
{
|
|
return 'brother';
|
|
}
|
|
|
|
public function renderBadge(Visit $visit): array
|
|
{
|
|
return (new PdfPrinterDriver)->renderBadge($visit);
|
|
}
|
|
}
|