| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 0 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 21 | public function __construct( |
||
| 22 | /** |
||
| 23 | * Iterator which validity is checked. |
||
| 24 | * |
||
| 25 | * @var Iterator |
||
| 26 | */ |
||
| 27 | private Iterator $origin, |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Consequent path if iterator is valid. |
||
| 31 | * |
||
| 32 | * @var Closure |
||
| 33 | */ |
||
| 34 | private Closure $cons, |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Alternate path if iterator is not valid. |
||
| 38 | * |
||
| 39 | * @var Closure |
||
| 40 | */ |
||
| 41 | private Closure $alter |
||
| 42 | ) { |
||
| 43 | } |
||
| 55 |