| 1 | <?php |
||
| 15 | class Result |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var mixed |
||
| 19 | */ |
||
| 20 | private $actual; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var bool |
||
| 24 | */ |
||
| 25 | private $negated; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var \expect\matcher\ReportableMatcher |
||
| 29 | */ |
||
| 30 | private $matcher; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var bool |
||
| 34 | */ |
||
| 35 | private $result; |
||
| 36 | |||
| 37 | public function __construct($actual, $negated, ReportableMatcher $matcher, $result) |
||
| 44 | |||
| 45 | public function isPassed() |
||
| 49 | |||
| 50 | public function isFailed() |
||
| 54 | |||
| 55 | public function reportTo(ResultReporter $reporter) |
||
| 62 | |||
| 63 | private function reportFailed(ResultReporter $reporter) |
||
| 75 | } |
||
| 76 |