скрипты, отвечающие за отправку писем - либо напрямую, либо через создание различных джоб или запуска отправки по расписанию (тестировал)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?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 [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user