TopWarehouseServiceProvider.php 493 字节
<?php

namespace Lackoxygen\TopWarehouse;

use Illuminate\Support\ServiceProvider;

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

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

}