FEATURE: prepare for installing templates
This commit is contained in:
@@ -5,7 +5,7 @@ use App\Models\User;
|
||||
|
||||
interface BaseModuleHandler
|
||||
{
|
||||
public static function getModuleId();
|
||||
// public static function getModuleId();
|
||||
|
||||
/**
|
||||
* Register admin menu (or multiple ones)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
namespace App\Handlers\Contracts;
|
||||
|
||||
use App\Models\Module;
|
||||
|
||||
interface TemplateHandler extends BaseModuleHandler
|
||||
{
|
||||
public static function uninstall(Module $template);
|
||||
|
||||
public static function getPublicTemplatePaths();
|
||||
}
|
||||
Reference in New Issue
Block a user