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