1 | <?php namespace Arcanesoft\Settings; |
||
12 | class SettingsServiceProvider extends PackageServiceProvider |
||
13 | { |
||
14 | /* ------------------------------------------------------------------------------------------------ |
||
15 | | Properties |
||
16 | | ------------------------------------------------------------------------------------------------ |
||
17 | */ |
||
18 | /** |
||
19 | * Vendor name. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $vendor = 'arcanesoft'; |
||
24 | |||
25 | /** |
||
26 | * Package name. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $package = 'settings'; |
||
31 | |||
32 | /* ------------------------------------------------------------------------------------------------ |
||
33 | | Getters & Setters |
||
34 | | ------------------------------------------------------------------------------------------------ |
||
35 | */ |
||
36 | /** |
||
37 | * Get the base path of the package. |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | 45 | public function getBasePath() |
|
45 | |||
46 | /** |
||
47 | * Get config key. |
||
48 | * |
||
49 | * @return string |
||
50 | */ |
||
51 | 45 | protected function getConfigKey() |
|
55 | |||
56 | /* ------------------------------------------------------------------------------------------------ |
||
57 | | Main Functions |
||
58 | | ------------------------------------------------------------------------------------------------ |
||
59 | */ |
||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | 45 | public function register() |
|
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | 45 | public function boot() |
|
87 | |||
88 | /** |
||
89 | * {@inheritdoc} |
||
90 | */ |
||
91 | 3 | public function provides() |
|
97 | |||
98 | /* ------------------------------------------------------------------------------------------------ |
||
99 | | Services |
||
100 | | ------------------------------------------------------------------------------------------------ |
||
101 | */ |
||
102 | /** |
||
103 | * Register Settings Manager. |
||
104 | */ |
||
105 | 45 | private function registerSettingsManager() |
|
109 | } |
||
110 |