Files
HickmeisterandClaude Sonnet 5.5 ab1fdb961f
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 28s
Add notification inbox, toasts and alert scanner for orders, prints and filament
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 21:02:35 +01:00

21 lines
530 B
PHP

<?php
namespace App\Console\Commands;
use App\Services\AlertScanner;
use Illuminate\Console\Attributes\Description;
use Illuminate\Console\Attributes\Signature;
use Illuminate\Console\Command;
#[Signature('alerts:scan')]
#[Description('Publish notifications for new orders, print progress, low filament and due shipments')]
class ScanAlerts extends Command
{
public function handle(AlertScanner $scanner): int
{
$this->line($scanner->scan().' notification(s) published');
return self::SUCCESS;
}
}