| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | public function evaluate($name, $arguments = []) |
||
| 48 | { |
||
| 49 | $matcher = $this->factory->create($name, $arguments); |
||
| 50 | |||
| 51 | $evaluator = MatcherEvaluator::fromMatcher($matcher); |
||
| 52 | |||
| 53 | if ($this->negated) { |
||
| 54 | $evaluator->negated(); |
||
| 55 | } |
||
| 56 | |||
| 57 | $result = $evaluator->evaluate($this->actual); |
||
| 58 | $result->reportTo($this->reporter); |
||
| 59 | } |
||
| 60 | |||
| 70 |