You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
488 B

<?php
namespace App\Providers;
use App\Services\Crawl\ArxivRequestGate;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
$this->app->singleton(ArxivRequestGate::class, fn () => ArxivRequestGate::fromConfig());
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//
}
}