1 | <?php |
||
14 | class BladeRenderer implements RendererInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var \Illuminate\Contracts\View\Factory |
||
18 | */ |
||
19 | protected $factory; |
||
20 | |||
21 | /** |
||
22 | * Initializes the renderer instance. |
||
23 | * |
||
24 | * @param \Illuminate\Contracts\View\Factory $factory |
||
25 | */ |
||
26 | public function __construct(Factory $factory) |
||
30 | |||
31 | /** |
||
32 | * Renders a template. |
||
33 | * |
||
34 | * @param string $template |
||
35 | * @param array $data |
||
36 | * @return string |
||
37 | */ |
||
38 | public function render($template, array $data = array()) |
||
42 | } |
||
43 |