1 | <?php namespace Modules\Setting\Providers; |
||
5 | class ThemeServiceProvider extends ServiceProvider |
||
6 | { |
||
7 | /** |
||
8 | * Register the service provider. |
||
9 | * @return void |
||
10 | */ |
||
11 | public function register() |
||
18 | |||
19 | /** |
||
20 | * Set the active theme based on the settings |
||
21 | */ |
||
22 | private function setActiveTheme() |
||
38 | |||
39 | /** |
||
40 | * Check if we are in the administration |
||
41 | * @return bool |
||
42 | */ |
||
43 | private function inAdministration() |
||
49 | |||
50 | /** |
||
51 | * Register all themes with activating them |
||
52 | */ |
||
53 | private function registerAllThemes() |
||
61 | } |
||
62 |