abusalam /
laravel-smsgateway
| 1 | <?php |
||
| 2 | |||
| 3 | namespace AbuSalam; |
||
| 4 | |||
| 5 | use Illuminate\Support\ServiceProvider; |
||
| 6 | |||
| 7 | /** |
||
| 8 | * Bootstrap SMS Gateway Services |
||
| 9 | */ |
||
| 10 | class SmsGatewayServiceProvider extends ServiceProvider |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Bootstrap any application services. |
||
| 15 | * |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function boot() |
||
| 19 | { |
||
| 20 | if ($this->app->runningInConsole()) { |
||
| 21 | $this->publishes([ |
||
| 22 | __DIR__.'/../config/config.php' => config_path('smsgateway.php'), |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 23 | ], 'config'); |
||
| 24 | /* |
||
| 25 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'skeleton'); |
||
| 26 | $this->publishes([ |
||
| 27 | __DIR__.'/../resources/views' => base_path('resources/views/vendor/skeleton'), |
||
| 28 | ], 'views'); |
||
| 29 | */ |
||
| 30 | } |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Register any application services. |
||
| 35 | * |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | public function register() |
||
| 39 | { |
||
| 40 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'smsgateway'); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |