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