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 | namespace Apie\Core\Datalayers\Lists; |
| 3 | |
| 4 | use Apie\Core\Datalayers\Search\QuerySearch; |
| 5 | use Apie\Core\Entities\EntityInterface; |
| 6 | use IteratorAggregate; |
| 7 | |
| 8 | /** |
| 9 | * @template T of EntityInterface |
| 10 | * @extends IteratorAggregate<int, T> |
| 11 | */ |
| 12 | interface EntityListInterface extends IteratorAggregate |
| 13 | { |
| 14 | /** |
| 15 | * @return PaginatedResult<T> |
| 16 | */ |
| 17 | public function toPaginatedResult(QuerySearch $search): PaginatedResult; |
| 18 | |
| 19 | public function getTotalCount(): int; |
| 20 | } |