Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class View extends Facade |
||
16 | { |
||
17 | /** |
||
18 | * Returns the registered name of the instance. |
||
19 | * |
||
20 | * @return string |
||
21 | */ |
||
22 | 9 | protected static function accessor() |
|
23 | { |
||
24 | 9 | return 'Zapheus\Renderer\RendererInterface'; |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * Renders a file from a specified template. |
||
29 | * |
||
30 | * @param string $template |
||
31 | * @param array $data |
||
32 | * @return string |
||
33 | * |
||
34 | * @throws \InvalidArgumentException |
||
35 | */ |
||
36 | 9 | public static function make($template, $data = array()) |
|
39 | } |
||
40 | } |
||
41 |