| 1 | <?php |
||
| 23 | class HasKey extends MatcherAbstract |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Check if the actual value matches the expected. |
||
| 27 | * |
||
| 28 | * @param mixed $actual |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | 2 | public function match(&$actual) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Return a string representation of this Matcher |
||
| 38 | * |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | public function __toString() |
||
| 45 | } |
||
| 46 |