41 lines
853 B
PHP
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
|
|
{
|
|
//
|
|
}
|
|
}
|