1 | <?php |
||
20 | class OnePredicate extends AbstractQuantifierPredicate |
||
21 | { |
||
22 | /** |
||
23 | * Evaluates the predicate returning true if only one decorated predicate returns true. |
||
24 | * |
||
25 | * @param mixed $value The input value. |
||
26 | * @return bool true if only one decorated predicate returns true |
||
27 | */ |
||
28 | 7 | public function __invoke($value) : bool |
|
44 | } |
||
45 |