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