1 | <?php |
||
24 | class NullEngine implements Engine, NullFindable |
||
25 | { |
||
26 | |||
27 | /** |
||
28 | * Check whether the Findable can handle an individual criterion. |
||
29 | * |
||
30 | * @since 0.1.0 |
||
31 | * |
||
32 | * @param mixed $criterion Criterion to check. |
||
33 | * |
||
34 | * @return bool Whether the Findable can handle the criterion. |
||
35 | */ |
||
36 | public function canHandle($criterion) |
||
40 | |||
41 | /** |
||
42 | * Get the rendering callback for a given URI. |
||
43 | * |
||
44 | * @since 0.1.0 |
||
45 | * |
||
46 | * @param string $uri URI to render. |
||
47 | * @param array $context Context in which to render. |
||
48 | * |
||
49 | * @return string Rendered HTML. |
||
50 | */ |
||
51 | public function getRenderCallback($uri, array $context = []) |
||
55 | } |
||
56 |