mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-26 18:25:09 +01:00
30 lines
580 B
PHP
30 lines
580 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\SettingServiceInterface;
|
|
use App\Services\AppstractOptionsService;
|
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
|
|
|
class TwoFAuthServiceProvider extends ServiceProvider
|
|
{
|
|
|
|
/**
|
|
* Register any events for your application.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Register stuff.
|
|
*
|
|
*/
|
|
public function register() : void
|
|
{
|
|
$this->app->bind(SettingServiceInterface::class, AppstractOptionsService::class);
|
|
}
|
|
}
|