1 | <?php namespace Arcanesoft\Blog; |
||
11 | class BlogServiceProvider extends PackageServiceProvider |
||
12 | { |
||
13 | /* ------------------------------------------------------------------------------------------------ |
||
14 | | Properties |
||
15 | | ------------------------------------------------------------------------------------------------ |
||
16 | */ |
||
17 | /** |
||
18 | * Package name. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $package = 'blog'; |
||
23 | |||
24 | /* ------------------------------------------------------------------------------------------------ |
||
25 | | Getters & Setters |
||
26 | | ------------------------------------------------------------------------------------------------ |
||
27 | */ |
||
28 | /** |
||
29 | * Get the base path of the package. |
||
30 | * |
||
31 | * @return string |
||
32 | */ |
||
33 | 8 | public function getBasePath() |
|
37 | |||
38 | /** |
||
39 | * Get config key. |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | 8 | protected function getConfigKey() |
|
47 | |||
48 | /* ------------------------------------------------------------------------------------------------ |
||
49 | | Main Functions |
||
50 | | ------------------------------------------------------------------------------------------------ |
||
51 | */ |
||
52 | /** |
||
53 | * Register the service provider. |
||
54 | */ |
||
55 | 8 | public function register() |
|
60 | |||
61 | /** |
||
62 | * Boot the service provider. |
||
63 | */ |
||
64 | 8 | public function boot() |
|
70 | |||
71 | /** |
||
72 | * Get the services provided by the provider. |
||
73 | * |
||
74 | * @return array |
||
75 | */ |
||
76 | 4 | public function provides() |
|
82 | |||
83 | /* ------------------------------------------------------------------------------------------------ |
||
84 | | Other Functions |
||
85 | | ------------------------------------------------------------------------------------------------ |
||
86 | */ |
||
87 | /** |
||
88 | * Register publishes. |
||
89 | */ |
||
90 | 8 | private function registerPublishes() |
|
118 | } |
||
119 |