| 1 | <?php |
||
| 14 | class SetUserEmailTask extends Task |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var \App\Containers\User\Contracts\UserRepositoryInterface |
||
| 19 | */ |
||
| 20 | private $userRepository; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * UpdateUserTask constructor. |
||
| 24 | * |
||
| 25 | * @param \App\Containers\User\Contracts\UserRepositoryInterface $userRepository |
||
| 26 | */ |
||
| 27 | public function __construct(UserRepositoryInterface $userRepository) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param $userId |
||
| 34 | * @param $email |
||
| 35 | * |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | public function run($userId, $email) |
||
| 46 | } |
||
| 47 |