| 1 | <?php |
||
| 14 | class InstanceofMatcher extends AbstractMatcher |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * See if actual value is an instance of the expected class. |
||
| 18 | * |
||
| 19 | * @param mixed $actual |
||
| 20 | * @return bool |
||
| 21 | */ |
||
| 22 | protected function doMatch($actual) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | * |
||
| 30 | * @return TemplateInterface |
||
| 31 | */ |
||
| 32 | public function getDefaultTemplate() |
||
| 39 | } |
||
| 40 |