baseUrl = $baseUrl; $this->rootDir = $rootDir; $this->pluginDir = $pluginDir; $this->themeDir = $themeDir; $this->currentPage = $currentPage; } /** * get baseUrl * @return string */ public function getBaseUrl(): string { return $this->baseUrl; } /** * get pluginDir * @return string */ public function getPluginDir(): string { return $this->pluginDir; } /** * get rootDir * @return string */ public function getRootDir(): string { return $this->rootDir; } /** * get themeDir * @return string */ public function getThemeDir(): string { return $this->themeDir; } /** * get currentPage * @return null|array */ public function getcurrentPage(): ?array { return $this->currentPage; } }