so-manager-dev.com/app/Providers/ShjServiceProvider.php
2025-09-19 19:01:21 +09:00

41 lines
853 B
PHP

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Console\Commands\ShjOneCommand;
use App\Services\ShjOneService;
use App\Services\GoogleVisionService;
use App\Services\GoogleMapsService;
/**
* SHJ Services Provider
* SHJ-1関連サービスの登録
*/
class ShjServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
// SHJ-1 Services
$this->app->singleton(GoogleVisionService::class);
$this->app->singleton(GoogleMapsService::class);
$this->app->singleton(ShjOneService::class);
// Commands
$this->commands([
ShjOneCommand::class,
]);
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//
}
}