| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class SkipOperation implements IntermediateOperation |
||
| 17 | { |
||
| 18 | /** @var int */ |
||
| 19 | private $skip; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param int $skip |
||
| 23 | */ |
||
| 24 | 2 | public function __construct($skip) |
|
| 27 | 2 | } |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @param mixed $input The element in the stream |
||
| 31 | * @param mixed $index The index in the input iterator |
||
| 32 | * @param IntermediateContext $context The solving context |
||
| 33 | * |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | 2 | public function apply($input, $index, IntermediateContext $context) |
|
| 53 |