| 1 | <?php |
||
| 7 | class UploadServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Bootstrap any application services. |
||
| 11 | */ |
||
| 12 | public function boot() |
||
| 13 | { |
||
| 14 | if ($this->app->runningInConsole() === true) { |
||
| 15 | $this->handlePublishes(); |
||
| 16 | } |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Register the service provider. |
||
| 21 | */ |
||
| 22 | 1 | public function register() |
|
| 31 | |||
| 32 | /** |
||
| 33 | * handle publishes. |
||
| 34 | */ |
||
| 35 | protected function handlePublishes() |
||
| 41 | } |
||
| 42 |