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.
32 lines
705 B
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');
|
|
}
|
|
}
|
|
} |