From 7ab241daa26d921bbab4cf08e647439b55598951 Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Fri, 24 Jan 2025 13:53:05 +0300 Subject: [PATCH] app_themes ad to kernel --- app/themes/custom/CustomTheme.php | 8 +++++ app/themes/custom/manifest.json | 4 ++- kernel/app_themes/custom/CustomTheme.php | 31 +++++++++++++++++++ .../custom/services/CustomService.php | 8 +++++ 4 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 app/themes/custom/CustomTheme.php create mode 100644 kernel/app_themes/custom/CustomTheme.php create mode 100644 kernel/app_themes/custom/services/CustomService.php diff --git a/app/themes/custom/CustomTheme.php b/app/themes/custom/CustomTheme.php new file mode 100644 index 0000000..4f7af2f --- /dev/null +++ b/app/themes/custom/CustomTheme.php @@ -0,0 +1,8 @@ +menuService = new MenuService(); + $this->migrationService = new MigrationService(); + } + + /** + * @throws \Exception + */ + public function init(): void + { + //TODO + } + + public function deactivate(): void + { + //TODO + } +} \ No newline at end of file diff --git a/kernel/app_themes/custom/services/CustomService.php b/kernel/app_themes/custom/services/CustomService.php new file mode 100644 index 0000000..f7a9fbd --- /dev/null +++ b/kernel/app_themes/custom/services/CustomService.php @@ -0,0 +1,8 @@ +