1 | <?php |
||
20 | abstract class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
21 | { |
||
22 | protected $packagePath; |
||
23 | protected $packageName; |
||
24 | |||
25 | /** |
||
26 | * Bootstrap the application services. |
||
27 | */ |
||
28 | public function boot() |
||
32 | |||
33 | /** |
||
34 | * Register the application services. |
||
35 | */ |
||
36 | public function register() |
||
59 | |||
60 | /** |
||
61 | * Get the services provided by the provider. |
||
62 | * |
||
63 | * @return array |
||
64 | */ |
||
65 | public function provides() |
||
79 | |||
80 | /** |
||
81 | * Register configuration paths to be published by the publish command. |
||
82 | */ |
||
83 | protected function publishConfig() |
||
90 | |||
91 | /** |
||
92 | * Register migration paths to be published by the publish command. |
||
93 | */ |
||
94 | protected function publishMigrations() |
||
101 | |||
102 | /** |
||
103 | * Register views paths to be published by the publish command. |
||
104 | */ |
||
105 | protected function publishViews() |
||
112 | |||
113 | /** |
||
114 | * Register assets paths to be published by the publish command. |
||
115 | */ |
||
116 | protected function publishAssets() |
||
123 | |||
124 | /** |
||
125 | * Register seeds paths to be published by the publish command. |
||
126 | */ |
||
127 | protected function publishSeeds() |
||
134 | |||
135 | /** |
||
136 | * Register a view file namespace. |
||
137 | */ |
||
138 | protected function loadViews() |
||
145 | |||
146 | /** |
||
147 | * Register a translation file namespace. |
||
148 | */ |
||
149 | protected function loadTranslations() |
||
156 | |||
157 | /** |
||
158 | * Register a route file namespace. |
||
159 | */ |
||
160 | protected function loadRoutes() |
||
166 | |||
167 | /** |
||
168 | * Merge the given configuration with the existing configuration. |
||
169 | */ |
||
170 | protected function mergeConfig() |
||
177 | |||
178 | /** |
||
179 | * Get the default package path. |
||
180 | * |
||
181 | * @return string |
||
182 | */ |
||
183 | protected function getPackagePath() |
||
187 | |||
188 | /** |
||
189 | * Get the default package name. |
||
190 | * |
||
191 | * @return string |
||
192 | */ |
||
193 | abstract protected function getPackageName(); |
||
194 | |||
195 | /** |
||
196 | * Register the asset publisher service and command. |
||
197 | */ |
||
198 | protected function registerAssetPublisher() |
||
214 | |||
215 | /** |
||
216 | * Register the configuration publisher class and command. |
||
217 | */ |
||
218 | protected function registerConfigPublisher() |
||
234 | |||
235 | /** |
||
236 | * Register the view publisher class and command. |
||
237 | */ |
||
238 | protected function registerViewPublisher() |
||
254 | |||
255 | /** |
||
256 | * Register the migration publisher class and command. |
||
257 | */ |
||
258 | protected function registerMigrationPublisher() |
||
274 | |||
275 | /** |
||
276 | * Register the migration publisher class and command. |
||
277 | */ |
||
278 | protected function registerSeedPublisher() |
||
294 | |||
295 | /** |
||
296 | * Register the migration publisher class and command. |
||
297 | */ |
||
298 | protected function registerTranslationPublisher() |
||
314 | |||
315 | /** |
||
316 | * Register the view loader class and command. |
||
317 | */ |
||
318 | protected function registerViewLoader() |
||
330 | |||
331 | /** |
||
332 | * Register the view loader class and command. |
||
333 | */ |
||
334 | protected function registerRouteLoader() |
||
346 | |||
347 | /** |
||
348 | * Register the view loader class and command. |
||
349 | */ |
||
350 | protected function registerTranslationLoader() |
||
362 | |||
363 | /** |
||
364 | * @param $file |
||
365 | * |
||
366 | * @return string |
||
367 | */ |
||
368 | protected function getFileName($file) |
||
378 | } |
||
379 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.