Files
magic-project/Modules/Taxi/App/Providers/TaxiMailerProvider.php
T

29 lines
653 B
PHP

<?php
namespace Modules\Taxi\App\Providers;
use Illuminate\Support\ServiceProvider;
use Modules\Taxi\App\Services\TaxiMailerService;
//Регистрация сервиса отправки писем по работе с Такси
class TaxiMailerProvider extends ServiceProvider
{
/**
* Register the service provider.
*/
public function register(): void
{
$this->app->bind(TaxiMailerService::class, function ($app) {
return new TaxiMailerService();
});
}
/**
* Get the services provided by the provider.
*/
public function provides(): array
{
return [];
}
}