@@ -8,7 +8,7 @@ |
||
8 | 8 | * Initial view engine. |
9 | 9 | * $engine are used to initialize view. |
10 | 10 | * |
11 | - * @param array $setting |
|
11 | + * @param array $settings |
|
12 | 12 | * @return mixed |
13 | 13 | */ |
14 | 14 | public function __construct($settings = []); |
@@ -58,6 +58,9 @@ |
||
58 | 58 | return $this->var; |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $fileName |
|
63 | + */ |
|
61 | 64 | public function file($fileName) |
62 | 65 | { |
63 | 66 | $this->templateFilename = $fileName . $this->settings['postfix']; |