| 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) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * isFailed. |
||
| 42 | * |
||
| 43 | * @param Result $result |
||
| 44 | * |
||
| 45 | * @return bool Return true is the condition is false |
||
| 46 | */ |
||
| 47 | public function isFailed(Result $result) |
||
| 51 | } |
||
| 52 |