| 1 | <?php |
||
| 23 | class StatusGuesser |
||
| 24 | { |
||
| 25 | const IDENTIFIED = 1; |
||
| 26 | const RESOLVED = 0; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * isOk. |
||
| 30 | * |
||
| 31 | * @param Result $result |
||
| 32 | * |
||
| 33 | * @return bool Return true is the condition is true |
||
| 34 | */ |
||
| 35 | public function isOk(Result $result) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * isFailed. |
||
| 47 | * |
||
| 48 | * @param Result $result |
||
| 49 | * |
||
| 50 | * @return bool Return true is the condition is false |
||
| 51 | */ |
||
| 52 | public function isFailed(Result $result) |
||
| 56 | } |
||
| 57 |