27 lines
498 B
PHP
27 lines
498 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Contracts\AuthServiceContract;
|
|
use App\Services\AuthService;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
$this->app->singleton(AuthServiceContract::class, AuthService::class);
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|