Files
phpvms/app/Providers/WeatherServiceProvider.php
Nabeel S 5cafebe4d6 Fix/metar reading (#353)
* Fix reading of the METAR information for AviationWeather. Fix the DI

* StyleCI fixes
2019-08-08 14:52:34 -04:00

18 lines
299 B
PHP
Executable File

<?php
namespace App\Providers;
use App\Contracts\Metar;
use Illuminate\Support\ServiceProvider;
class WeatherServiceProvider extends ServiceProvider
{
public function boot(): void
{
$this->app->bind(
Metar::class,
config('phpvms.metar')
);
}
}