22 lines
535 B
PHP
22 lines
535 B
PHP
<?php
|
|
|
|
namespace Modules\Core\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class CheckoutServiceProvider extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
$this->mergeConfigFrom(__DIR__ . '/../../config/legal.php', 'legal');
|
|
$this->mergeConfigFrom(__DIR__ . '/../../config/checkout.php', 'checkout');
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
$this->publishes([
|
|
__DIR__ . '/../../config/checkout.php' => config_path('checkout.php'),
|
|
], 'core-config');
|
|
}
|
|
}
|