We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e57b595 commit e54df77Copy full SHA for e54df77
WebFiori/UI/TemplateCompiler.php
@@ -47,8 +47,9 @@ class TemplateCompiler {
47
* value of each key represents the value of the variable inside the template.
48
* This parameter is applicable only if the template is a PHP file.
49
*
50
- * @throws TemplateNotFoundException If no file is found which has given path.
51
- * @throws InvalidNodeNameException
+ * @throws InvalidArgumentException When template path is empty
+ * @throws TemplateNotFoundException When template file is not found
52
+ * @throws InvalidNodeNameException When template contains invalid HTML elements
53
*/
54
public function __construct(string $templatePath, array $vars = []) {
55
$trimmedPath = trim($templatePath);
0 commit comments