1 | <?php |
||
19 | class Template extends BaseObject implements ViewInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | public $mode = View::TEMPLATE_MODE_CP; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | public $template = ''; |
||
30 | |||
31 | /** |
||
32 | * @param array $params |
||
33 | * @return string |
||
34 | * @throws \Twig_Error_Loader |
||
35 | * @throws \yii\base\Exception |
||
36 | */ |
||
37 | public function render(array $params = []): string |
||
50 | |||
51 | /** |
||
52 | * @param array $params |
||
53 | * @return string |
||
54 | * @throws \Twig_Error_Loader |
||
55 | * @throws \yii\base\Exception |
||
56 | */ |
||
57 | protected function renderTemplate(array $params = []): string |
||
64 | } |
||
65 |