1 | <?php namespace Usman\Guardian; |
||
5 | class GuardianServiceProvider extends ServiceProvider { |
||
6 | |||
7 | /** |
||
8 | * Indicates if loading of the provider is deferred. |
||
9 | * |
||
10 | * @var bool |
||
11 | */ |
||
12 | protected $defer = false; |
||
13 | |||
14 | /** |
||
15 | * Bootstrap the package. |
||
16 | * |
||
17 | * @return void |
||
18 | */ |
||
19 | public function boot() |
||
29 | |||
30 | /** |
||
31 | * Register the service provider. |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | public function register() |
||
46 | |||
47 | /** |
||
48 | * loads and publishes the package view files |
||
49 | * |
||
50 | * @return void |
||
51 | */ |
||
52 | private function loadAndPublishViews() |
||
61 | |||
62 | /** |
||
63 | * publishes the package assets |
||
64 | * |
||
65 | * @return void |
||
66 | */ |
||
67 | private function publishAssets() |
||
74 | |||
75 | /** |
||
76 | * publishes the package config file |
||
77 | * |
||
78 | * @return void |
||
79 | */ |
||
80 | private function publishConfig() |
||
85 | |||
86 | /** |
||
87 | * publishes the package migration files |
||
88 | * |
||
89 | * @return void |
||
90 | */ |
||
91 | private function publishMigrations() |
||
96 | |||
97 | /** |
||
98 | * merges the package config with the app config |
||
99 | * |
||
100 | * @return void |
||
101 | */ |
||
102 | private function mergeConfiguration() |
||
108 | |||
109 | /** |
||
110 | * Get the services provided by the provider. |
||
111 | * |
||
112 | * @return array |
||
113 | */ |
||
114 | public function provides() |
||
118 | |||
119 | } |
||
120 |