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:
		@@ -22,5 +22,13 @@ interface PluginInterface
 | 
			
		||||
     * @param Sidebar $sidebar Sidebar instance for adding items
 | 
			
		||||
     */
 | 
			
		||||
    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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user