1 | <?php |
||
20 | class DisjunctionReducer implements ReducerInterface |
||
21 | { |
||
22 | /** |
||
23 | * @param RuleInterface $rule |
||
24 | * @return bool |
||
25 | */ |
||
26 | public function match(RuleInterface $rule): bool |
||
30 | |||
31 | /** |
||
32 | * @param RuleInterface $rule |
||
33 | * @return \Generator|Matchable |
||
34 | */ |
||
35 | public function reduce(RuleInterface $rule): \Generator |
||
39 | } |
||
40 |