1 | <?php |
||
10 | class Php implements EngineInterface { |
||
11 | /** |
||
12 | * {@inheritDoc} |
||
13 | */ |
||
14 | 1 | public function exists( $view ) { |
|
18 | |||
19 | /** |
||
20 | * {@inheritDoc} |
||
21 | */ |
||
22 | 1 | public function canonical( $view ) { |
|
26 | |||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | */ |
||
30 | 6 | public function render( $views, $context ) { |
|
40 | |||
41 | /** |
||
42 | * Render a single view to string |
||
43 | * |
||
44 | * @param string $view |
||
45 | * @param string $file |
||
46 | * @param array $context |
||
47 | * @return string |
||
48 | */ |
||
49 | 5 | protected function renderView( $view, $file, $context ) { |
|
67 | |||
68 | /** |
||
69 | * Resolve a view or a view array to an absolute filepath |
||
70 | * |
||
71 | * @param string $view |
||
72 | * @return string |
||
73 | */ |
||
74 | 1 | protected function resolveFile( $view ) { |
|
93 | |||
94 | /** |
||
95 | * Resolve the view if it exists on the filesystem |
||
96 | * |
||
97 | * @param string $view |
||
98 | * @return string |
||
99 | */ |
||
100 | 1 | protected function resolveFileFromFilesystem( $view ) { |
|
103 | } |
||
104 |