28 lines
504 B
PHP
28 lines
504 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\RiksdagenService;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
$this->app->bind(RiksdagenService::class, function () {
|
|
return new RiksdagenService();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|