diff --git a/src/DeltaCMS/Module/Config/Config.php b/src/DeltaCMS/Module/Config/Config.php new file mode 100644 index 0000000..c1dedd4 --- /dev/null +++ b/src/DeltaCMS/Module/Config/Config.php @@ -0,0 +1,51 @@ +routes = $config->getRoutes(); + $this->templateFolder = $config->getTemplateFolder(); + } + } + + private $routes = array(); + private $templateFolder = ""; + private $forms = array(); + + public function getRoutes(): array + { + return $this->routes; + } + + public function setRoutes(array $routes) + { + $this->routes = $routes; + } + + public function getTemplateFolder(): string + { + return $this->templateFolder; + } + + + public function setTemplateFolder(string $folder) + { + $this->templateFolder = $folder; + } + + public function getForms(): array + { + return $this->forms; + } + + public function setForms(array $forms) + { + $this->forms = $forms; + } +} diff --git a/src/DeltaCMS/Module/Config/ConfigInterface.php b/src/DeltaCMS/Module/Config/ConfigInterface.php index e1fa2ec..59239fe 100644 --- a/src/DeltaCMS/Module/Config/ConfigInterface.php +++ b/src/DeltaCMS/Module/Config/ConfigInterface.php @@ -7,4 +7,6 @@ interface ConfigInterface public function getRoutes(): array; public function getTemplateFolder(): string; + + public function getForms(): array; }