| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace Webkul\Shipping\Providers;
- use Illuminate\Support\ServiceProvider;
- class ShippingServiceProvider extends ServiceProvider
- {
- /**
- * Register services.
- *
- * @return void
- */
- public function register()
- {
- include __DIR__.'/../Http/helpers.php';
- $this->registerConfig();
- }
- /**
- * Bootstrap services.
- *
- * @return void
- */
- public function boot()
- {
- $this->loadMigrationsFrom(
- dirname(__DIR__).'/Database/Migrations'
- );
- }
- /**
- * Register package config.
- *
- * @return void
- */
- protected function registerConfig()
- {
- $this->mergeConfigFrom(
- dirname(__DIR__).'/Config/carriers.php', 'carriers'
- );
- $this->mergeConfigFrom(
- dirname(__DIR__) . '/Config/system.php', 'core'
- );
- }
- }
|