1 | <?php |
||
13 | class NullMatcher extends AbstractMatcher |
||
14 | { |
||
15 | public function __construct() |
||
16 | { |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Match if the actual value is null. |
||
21 | * |
||
22 | * @param $actual |
||
23 | * @return mixed |
||
24 | */ |
||
25 | protected function doMatch($actual) |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | * |
||
33 | * @return TemplateInterface |
||
34 | */ |
||
35 | public function getDefaultTemplate() |
||
42 | } |
||
43 |