1 | <?php namespace Arcanedev\Settings; |
||
12 | class SettingsServiceProvider extends ServiceProvider |
||
13 | { |
||
14 | /* ------------------------------------------------------------------------------------------------ |
||
15 | | Properties |
||
16 | | ------------------------------------------------------------------------------------------------ |
||
17 | */ |
||
18 | /** |
||
19 | * Vendor name. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $vendor = 'arcanedev'; |
||
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 | 192 | public function getBasePath() |
|
45 | |||
46 | /* ------------------------------------------------------------------------------------------------ |
||
47 | | Main Functions |
||
48 | | ------------------------------------------------------------------------------------------------ |
||
49 | */ |
||
50 | /** |
||
51 | * Register the service provider. |
||
52 | */ |
||
53 | 192 | public function register() |
|
70 | |||
71 | /** |
||
72 | * Boot the service provider. |
||
73 | */ |
||
74 | 192 | public function boot() |
|
86 | |||
87 | /** |
||
88 | * Get the services provided by the provider. |
||
89 | * |
||
90 | * @return array |
||
91 | */ |
||
92 | 3 | public function provides() |
|
100 | } |
||
101 |