Total Complexity | 5 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
10 | class RegistrationDoctrineRepository extends AbstractDoctrineRepository implements RegistrationRepository |
||
11 | { |
||
12 | /** |
||
13 | * @inheritdoc |
||
14 | */ |
||
15 | protected function getRepositoryName(): string |
||
16 | { |
||
17 | return RegistrationEntity::class; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * @inheritdoc |
||
22 | */ |
||
23 | public function save(Registration $registration): void |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @param string $hashCode |
||
47 | * @return Registration |
||
48 | */ |
||
49 | public function getByHashCode(string $hashCode): ?Registration |
||
61 |