diff --git a/app/CMS/Contracts/Modules/AppHandler.php b/app/CMS/Contracts/Modules/AppHandler.php index ff82174f..d41e0339 100644 --- a/app/CMS/Contracts/Modules/AppHandler.php +++ b/app/CMS/Contracts/Modules/AppHandler.php @@ -14,7 +14,7 @@ interface AppHandler extends BaseModuleHandler * * @return mixed */ - public function render(Content $content, $parameters); +// public function render(Content $content, $parameters); public static function getHistoryHandler(); diff --git a/app/CMS/Contracts/Modules/TemplateHandler.php b/app/CMS/Contracts/Modules/TemplateHandler.php index 5fe265bf..2dd2043a 100644 --- a/app/CMS/Contracts/Modules/TemplateHandler.php +++ b/app/CMS/Contracts/Modules/TemplateHandler.php @@ -28,13 +28,6 @@ interface TemplateHandler extends BaseModuleHandler */ public static function getPublicTemplatePaths(); - /** - * Prepare Content object to be rendered using Blade template - * - * @param Content $content - */ - public static function beforeRender(Content & $content); - /** * Modify input data into format which can be understood by edit template * diff --git a/app/CMS/Handlers/Handler.php b/app/CMS/Handlers/Handler.php index a5401f28..420fae52 100644 --- a/app/CMS/Handlers/Handler.php +++ b/app/CMS/Handlers/Handler.php @@ -20,19 +20,6 @@ abstract class Handler extends BaseHandler implements AppHandler return History::class; } - /** - * Render given module into visitor area. - * - * @param Content $content DB model from table contents - * @param array $parameters parameters used for modifications/custom settings of given model - * - * @return mixed - */ - public function render(Content $content, $parameters) - { - - } - public static function getExtendedFormSections() { return [