Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class RegistrationSetHash |
||
10 | { |
||
11 | /** |
||
12 | * @var EntityManagerInterface |
||
13 | */ |
||
14 | private $em; |
||
15 | |||
16 | public function __construct(EntityManagerInterface $em) |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @param User $user |
||
23 | * @return string |
||
24 | * @throws \Exception |
||
25 | * Sets a new hash to the verifiedDateTimeField of the passed user |
||
26 | */ |
||
27 | public function setHash(User $user): string |
||
37 | } |
||
38 | } |