1 | <?php |
||
15 | class InclusionMatcher extends AbstractMatcher |
||
16 | { |
||
17 | /** |
||
18 | * Matches if an array or string contains the expected value. |
||
19 | * |
||
20 | * @param $actual |
||
21 | * @return mixed |
||
22 | * @throws InvalidArgumentException |
||
23 | */ |
||
24 | protected function doMatch($actual) |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | * |
||
44 | * @return TemplateInterface |
||
45 | */ |
||
46 | public function getDefaultTemplate() |
||
53 | |||
54 | private function matchTraversable(Traversable $actual) |
||
64 | } |
||
65 |