<?php

namespace App\Console\Commands;

use App\Services\PaymentWarningService;
use Illuminate\Console\Command;

class CheckPaymentWarning extends Command
{
    protected $signature = 'payment:check-warning';

    protected $description = 'Check payment warning metrics';

    public function handle()
    {
        $count = (new PaymentWarningService())->checkAll();
        $this->info('checked_payment_combinations=' . $count);
    }
}
