1 | <?php |
||
15 | class ImpersonateServiceProvider extends \Illuminate\Support\ServiceProvider |
||
16 | { |
||
17 | /** |
||
18 | * @var bool |
||
19 | */ |
||
20 | protected $defer = false; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $configName = 'laravel-impersonate'; |
||
26 | |||
27 | /** |
||
28 | * Register the service provider. |
||
29 | * |
||
30 | * @return void |
||
31 | */ |
||
32 | public function register() |
||
49 | |||
50 | /** |
||
51 | * Bootstrap the application events. |
||
52 | * |
||
53 | * @return void |
||
54 | */ |
||
55 | public function boot() |
||
59 | |||
60 | /** |
||
61 | * Register plugin blade directives. |
||
62 | * |
||
63 | * @param void |
||
64 | * @return void |
||
65 | */ |
||
66 | protected function registerBladeDirectives() |
||
84 | |||
85 | /** |
||
86 | * Register routes macro. |
||
87 | * |
||
88 | * @param void |
||
89 | * @return void |
||
90 | */ |
||
91 | protected function registerRoutesMacro() |
||
100 | |||
101 | /** |
||
102 | * Register plugin middleware. |
||
103 | * |
||
104 | * @param void |
||
105 | * @return void |
||
106 | */ |
||
107 | public function registerMiddleware() |
||
111 | |||
112 | /** |
||
113 | * Merge config file. |
||
114 | * |
||
115 | * @param void |
||
116 | * @return void |
||
117 | */ |
||
118 | protected function mergeConfig() |
||
124 | |||
125 | /** |
||
126 | * Publish config file. |
||
127 | * |
||
128 | * @param void |
||
129 | * @return void |
||
130 | */ |
||
131 | protected function publishConfig() |
||
137 | } |