tabuna/VestaAPI

View on GitHub
src/Providers/VestaServiceProvider.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace VestaAPI\Providers;

use Illuminate\Support\ServiceProvider;

class VestaServiceProvider extends ServiceProvider
{
    /**
     * Boot the application events.
     */
    public function boot()
    {
        $this->registerConfig();
    }

    /**
     * Register config.
     */
    protected function registerConfig()
    {
        $this->publishes([
            __DIR__.'/../../config/vesta.php' => config_path('vesta.php'),
        ]);

        $this->mergeConfigFrom(
            __DIR__.'/../../config/vesta.php',
            'vesta'
        );
    }
}