CustomsServiceProvider.php 454 字节
<?php

namespace Lackoxygen\Customs;

use Illuminate\Support\ServiceProvider;

class CustomsServiceProvider extends ServiceProvider
{
    public function boot()
    {
        $configPath = __DIR__ . '/../config/customs.php';
        $this->publishes([$configPath => config_path('customs.php')], 'lackoxygen-customs');
    }

    /**
     * @return string[]
     */
    public function provides()
    {
        return ['customs', Customs::class];
    }
}