1 | <?php |
||
31 | class Template implements TemplateInterface |
||
32 | { |
||
33 | use QuoteTrait; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | * @access protected |
||
38 | */ |
||
39 | protected $template; |
||
40 | |||
41 | /** |
||
42 | * @var string|string[] |
||
43 | * @access protected |
||
44 | */ |
||
45 | protected $col; |
||
46 | |||
47 | /** |
||
48 | * @param string $template |
||
49 | * @param string|string[] $col column[s] |
||
50 | * @access public |
||
51 | */ |
||
52 | public function __construct(/*# string */ $template, $col) |
||
57 | |||
58 | /** |
||
59 | * Get output of the template base on settings |
||
60 | * |
||
61 | * @param array $settings |
||
62 | * @return string |
||
63 | * @access public |
||
64 | * @api |
||
65 | */ |
||
66 | public function getOutput(array $settings)/*# : string */ |
||
78 | } |
||
79 |