mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update interface with renderTemplate() method
This commit is contained in:
parent
39a8a58f38
commit
ce72d2a0ab
@ -22,5 +22,13 @@ interface PluginInterface
|
|||||||
* @param Sidebar $sidebar Sidebar instance for adding items
|
* @param Sidebar $sidebar Sidebar instance for adding items
|
||||||
*/
|
*/
|
||||||
public function initialize(Sidebar $sidebar): void;
|
public function initialize(Sidebar $sidebar): void;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render a template within the plugin's template directory
|
||||||
|
* @param string $templateName
|
||||||
|
* @param array $__data
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function renderTemplate(string $templateName, array $__data = []): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user