1 | <?php namespace Arcanedev\LaravelSettings; |
||
11 | class SettingsServiceProvider extends PackageServiceProvider |
||
12 | { |
||
13 | /* ----------------------------------------------------------------- |
||
14 | | Properties |
||
15 | | ----------------------------------------------------------------- |
||
16 | */ |
||
17 | |||
18 | /** |
||
19 | * Package name. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $package = 'settings'; |
||
24 | |||
25 | /* ----------------------------------------------------------------- |
||
26 | | Getters & Setters |
||
27 | | ----------------------------------------------------------------- |
||
28 | */ |
||
29 | |||
30 | /** |
||
31 | * Get the base path of the package. |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | 258 | public function getBasePath() |
|
39 | |||
40 | /* ----------------------------------------------------------------- |
||
41 | | Main Methods |
||
42 | | ----------------------------------------------------------------- |
||
43 | */ |
||
44 | |||
45 | /** |
||
46 | * Register the service provider. |
||
47 | */ |
||
48 | 258 | public function register() |
|
57 | |||
58 | /** |
||
59 | * Boot the service provider. |
||
60 | */ |
||
61 | 258 | public function boot() |
|
67 | |||
68 | /** |
||
69 | * Get the services provided by the provider. |
||
70 | * |
||
71 | * @return array |
||
72 | */ |
||
73 | 6 | public function provides() |
|
80 | |||
81 | /* ----------------------------------------------------------------- |
||
82 | | Other Methods |
||
83 | | ----------------------------------------------------------------- |
||
84 | */ |
||
85 | |||
86 | /** |
||
87 | * Register the Settings Manager. |
||
88 | * |
||
89 | */ |
||
90 | 258 | private function registerSettingsManager() |
|
103 | } |
||
104 |