Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 28s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
21 lines
530 B
PHP
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;
|
|
}
|
|
}
|