| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | class UserDoctrineRepository extends AbstractDoctrineRepository implements UserRepository |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @inheritdoc |
||
| 14 | */ |
||
| 15 | protected function getRepositoryName(): string |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param User $user |
||
| 22 | */ |
||
| 23 | public function save(User $user): void |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param Email $email |
||
| 33 | * @return null|User |
||
| 34 | */ |
||
| 35 | public function getByEmail(Email $email): ?User |
||
| 47 |