| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class CollectionMeta |
||
| 21 | { |
||
| 22 | use HydratorTrait; |
||
| 23 | |||
| 24 | /** @var int */ |
||
| 25 | private $limit = 0; |
||
| 26 | /** @var int */ |
||
| 27 | private $offset = 0; |
||
| 28 | /** @var int */ |
||
| 29 | private $total = 0; |
||
| 30 | |||
| 31 | |||
| 32 | /** |
||
| 33 | * CollectionMeta constructor. |
||
| 34 | * |
||
| 35 | */ |
||
| 36 | 11 | protected function __construct() |
|
| 38 | 11 | } |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @return int |
||
| 42 | */ |
||
| 43 | 2 | public function getLimit(): int |
|
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return int |
||
| 50 | */ |
||
| 51 | 2 | public function getOffset(): int |
|
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return int |
||
| 58 | */ |
||
| 59 | 2 | public function getTotal(): int |
|
| 64 |