| Total Complexity | 4 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 16 | final class Except extends Parser |
||
| 17 | { |
||
| 18 | public function __construct( |
||
| 19 | private Parser $refuse, |
||
| 20 | private Parser $parser, |
||
| 21 | ) {} |
||
| 22 | |||
| 23 | public static function for(Parser|string $refusal, Parser|string $parser): Parser |
||
| 26 | } |
||
| 27 | |||
| 28 | public function parse(string $input): Result |
||
| 36 |