You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
payment/app/Job/AfterSpendJob.php

21 lines
398 B
PHP

<?php
declare(strict_types=1);
namespace App\Job;
use App\Service\SpendService;
class AfterSpendJob extends Job
{
public function handle()
{
$payOrderNumber = $this->params['pay_order_number'] ?? '';
/**
* @var SpendService $spendService
*/
$spendService = make(SpendService::class);
$spendService->afterSpend($payOrderNumber);
}
}