19 lines
340 B
PHP
19 lines
340 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\LanguageDetectionService;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
$this->app->singleton(LanguageDetectionService::class);
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|