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 | namespace Core\Repositories; |
| 4 | |
| 5 | use Core\Models\Emprestimo; |
| 6 | |
| 7 | interface IEmprestimosRepository |
| 8 | { |
| 9 | public function save(Emprestimo $e): Emprestimo; |
| 10 | public function findById(int $id): ?Emprestimo; |
| 11 | public function findBy(array $condition, int $page, int $limit): array; |
| 12 | public function findNaoDevolvidosByIdLivro( |
| 13 | int $idLivro, int $page, int $limit |
| 14 | ): array; |
| 15 | } |
| 16 |