1 | <?php namespace Arcanedev\LaravelDisqus; |
||
12 | class LaravelDisqusServiceProvider extends PackageServiceProvider |
||
13 | { |
||
14 | /* ------------------------------------------------------------------------------------------------ |
||
15 | | Properties |
||
16 | | ------------------------------------------------------------------------------------------------ |
||
17 | */ |
||
18 | /** |
||
19 | * Package name. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $package = 'laravel-disqus'; |
||
24 | |||
25 | /** |
||
26 | * Indicates if loading of the provider is deferred. |
||
27 | * |
||
28 | * @var bool |
||
29 | */ |
||
30 | protected $defer = true; |
||
31 | |||
32 | /* ------------------------------------------------------------------------------------------------ |
||
33 | | Getters & Setters |
||
34 | | ------------------------------------------------------------------------------------------------ |
||
35 | */ |
||
36 | /** |
||
37 | * Get the base path of the package. |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | 36 | public function getBasePath() |
|
45 | |||
46 | /* ------------------------------------------------------------------------------------------------ |
||
47 | | Main Functions |
||
48 | | ------------------------------------------------------------------------------------------------ |
||
49 | */ |
||
50 | /** |
||
51 | * Register the service provider. |
||
52 | */ |
||
53 | 36 | public function register() |
|
67 | |||
68 | /** |
||
69 | * Boot the service provider. |
||
70 | */ |
||
71 | 36 | public function boot() |
|
78 | |||
79 | /** |
||
80 | * Get the services provided by the provider. |
||
81 | * |
||
82 | * @return array |
||
83 | */ |
||
84 | 15 | public function provides() |
|
90 | |||
91 | /* ------------------------------------------------------------------------------------------------ |
||
92 | | Other Functions |
||
93 | | ------------------------------------------------------------------------------------------------ |
||
94 | */ |
||
95 | /** |
||
96 | * Register Disqus Middleware. |
||
97 | */ |
||
98 | 36 | private function registerMiddleware() |
|
104 | } |
||
105 |