Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace App\Repository; |
| 6 | |
| 7 | use App\Entity\User; |
| 8 | |
| 9 | interface UserRepositoryInterface |
| 10 | { |
| 11 | public function save(User $entity, bool $flush = false): void; |
| 12 | |
| 13 | public function getByEmail(string $email): ?User; |
| 14 | |
| 15 | public function getById(int $id): ?User; |
| 16 | |
| 17 | public function list(?string $nameCriteria = null, ?string $emailCriteria = null): array; |
| 18 | } |