Files
core/src/Providers/CheckoutServiceProvider.php
T

22 lines
535 B
PHP
Raw Normal View History

2026-09-09 01:12:21 +03:00
<?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');
2026-09-09 01:12:21 +03:00
}
}