| 1 | <?php |
||
| 11 | final class GenerateVerificationTokenHandler |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var UserRepositoryInterface |
||
| 15 | */ |
||
| 16 | private $userRepository; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var GeneratorInterface |
||
| 20 | */ |
||
| 21 | private $tokenGenerator; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param UserRepositoryInterface $userRepository |
||
| 25 | * @param GeneratorInterface $tokenGenerator |
||
| 26 | */ |
||
| 27 | public function __construct(UserRepositoryInterface $userRepository, GeneratorInterface $tokenGenerator) |
||
| 32 | |||
| 33 | public function handle(GenerateVerificationToken $generateVerificationToken) |
||
| 44 | } |
||
| 45 |