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/AfterRegisterJob.php

21 lines
373 B
PHTML

2 years ago
<?php
declare(strict_types=1);
namespace App\Job;
use App\Service\UserService;
class AfterRegisterJob extends Job
{
public function handle()
{
$userId = $this->params['user_id'] ?? '';
/**
* @var UserService $userService
*/
$userService = make(UserService::class);
$userService->afterRegister($userId);
}
}