PanovAlexey /
geo-location
| 1 | <?php |
||
| 2 | |||
| 3 | namespace CodeblogPro\GeoLocation; |
||
| 4 | |||
| 5 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
| 6 | { |
||
| 7 | public function register() |
||
| 8 | { |
||
| 9 | parent::register(); |
||
| 10 | } |
||
| 11 | |||
| 12 | public function boot() |
||
| 13 | { |
||
| 14 | $this->loadRoutesFrom(__DIR__ . '/routes/geo-location.php'); |
||
| 15 | |||
| 16 | $this->publishes([ |
||
| 17 | __DIR__ . '/config/geolocation.php' => config_path('geolocation.php'), |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 18 | 'geolocation-config' |
||
| 19 | ]); |
||
| 20 | $this->mergeConfigFrom(__DIR__ . '/config/geolocation.php', 'geolocation'); |
||
| 21 | } |
||
| 22 | } |
||
| 23 |