MinPaymentProvider.php 460 字节
<?php

namespace Lackoxygen\MinPayment;

use Illuminate\Support\ServiceProvider;

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

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

}