| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class LimitBy implements CriteriaInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $count; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * LimitBy constructor. |
||
| 21 | * |
||
| 22 | * @param $count |
||
| 23 | */ |
||
| 24 | public function __construct($count) |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param Builder $model |
||
| 31 | * @param RepositoryInterface $repository |
||
| 32 | * |
||
| 33 | * @return Builder |
||
| 34 | */ |
||
| 35 | public function apply($model, RepositoryInterface $repository): Builder |
||
| 44 |