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