CheckPaymentWarning.php 439 B

12345678910111213141516171819
  1. <?php
  2. namespace App\Console\Commands;
  3. use App\Services\PaymentWarningService;
  4. use Illuminate\Console\Command;
  5. class CheckPaymentWarning extends Command
  6. {
  7. protected $signature = 'payment:check-warning';
  8. protected $description = 'Check payment warning metrics';
  9. public function handle()
  10. {
  11. $count = (new PaymentWarningService())->checkAll();
  12. $this->info('checked_payment_combinations=' . $count);
  13. }
  14. }