/home/techb158/immovalet.com/vendor/botble/theme/src
NameSizeModeActions
Commands/-0755rm
Contracts/-0755rm
Events/-0755rm
Exceptions/-0755rm
Facades/-0755rm
Forms/-0755rm
Http/-0755rm
Providers/-0755rm
Services/-0755rm
Supports/-0755rm
Asset.php27070644editdlrm
AssetContainer.php168820644editdlrm
Breadcrumb.php14290644editdlrm
Manager.php10750644editdlrm
Theme.php252140644editdlrm
ThemeOption.php159600644editdlrm
Edit: /home/techb158/immovalet.com/vendor/botble/theme/src/Manager.php (1075B)
registerTheme(self::getAllThemes()); } /** * @param string|array $theme * @return void */ public function registerTheme($theme): void { if (!is_array($theme)) { $theme = [$theme]; } $this->themes = array_merge_recursive($this->themes, $theme); } /** * @return array */ public function getAllThemes(): array { $themes = []; $themePath = theme_path(); foreach (scan_folder($themePath) as $folder) { $theme = get_file_data($themePath . DIRECTORY_SEPARATOR . $folder . '/theme.json'); if (!empty($theme)) { $themes[$folder] = $theme; } } return $themes; } /** * @return array */ public function getThemes(): array { return $this->themes; } }