You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
laravel-geo-layer/src/app/Providers/LaravelGeoServiceProvider.php

32 lines
705 B
PHP

<?php
namespace Ae3\LaravelGeoLayer\app\Providers;
use Illuminate\Support\ServiceProvider;
class LaravelGeoServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
$this->mergeConfigFrom(__DIR__ . '/../../config/config.php', 'laravel-geo-layer');
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
if ($this->app->runningInConsole()) {
$this->publishes([
__DIR__ . '/../../config/config.php' => config_path('laravel-geo-layer.php'),
], 'config');
}
}
}