1 | <?php |
||
10 | class ConfirmationTokenService |
||
11 | { |
||
12 | private $entityManager; |
||
13 | |||
14 | 5 | public function __construct(EntityManagerInterface $entityManager) |
|
18 | |||
19 | 5 | public function getEmailConfirmationToken(User $user): ConfirmationToken |
|
26 | |||
27 | 5 | private function getToken(User $user, string $type, \DateTimeInterface $expires_at = null): ConfirmationToken |
|
40 | } |