Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/app/Providers/EventServiceProvider.php
Назад
<?php namespace App\Providers; // use Illuminate\Auth\Events\InvitationSent; use App\Events\InvitationSent; use App\Events\SomniAnnualFeeEvent; use App\Events\RentPaymentEvent; use App\Events\OtherPaymentEvent; use App\Events\EventCreateEvent; use App\Events\NewUnitEvent; use App\Events\ExtraUnitCreated; use App\Events\ExtraUnitPayment; use App\Events\BankRentPaymentEvent; use App\Events\EventCreateEventTenant; use App\Listeners\SendEmailNotificationLandlordInvitation; use App\Listeners\SendEmailNotificationTenantInvitation; use App\Listeners\NotificationToTenantAndLandlordInvite; use App\Listeners\MonthlyRentNotification; use App\Listeners\MonthlyRentNotificationTenant; use App\Listeners\SomniAnnualFeeNotificationToTenant; use App\Listeners\OtherPaymentNotification; use App\Listeners\SendEventLandlordNotification; use App\Listeners\SendEventTenantNotification; use App\Listeners\NewUnitNotificationToLandlord; use App\Listeners\ExtraUnitPaymentNotification; use App\Listeners\ExtraUnitCreatedNotification; use App\Listeners\BankRentPaymentNotification; use App\Listeners\SendNotificationToLandlordWhenTenantCreatesEvent; use App\Listeners\SendNotificationToTenantWhenTenantCreatesEvent; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Event; class EventServiceProvider extends ServiceProvider { /** * The event to listener mappings for the application. * * @var array<class-string, array<int, class-string>> */ protected $listen = [ InvitationSent::class => [ SendEmailNotificationLandlordInvitation::class, SendEmailNotificationTenantInvitation::class, NotificationToTenantAndLandlordInvite::class ], RentPaymentEvent::class => [ MonthlyRentNotification::class, MonthlyRentNotificationTenant::class ], SomniAnnualFeeEvent::class => [ SomniAnnualFeeNotificationToTenant::class ], OtherPaymentEvent::class => [ OtherPaymentNotification::class ], EventCreateEvent::class => [ SendEventLandlordNotification::class, SendEventTenantNotification::class ], NewUnitEvent::class => [ NewUnitNotificationToLandlord::class, ], ExtraUnitCreated::class => [ ExtraUnitCreatedNotification::class ], ExtraUnitPayment::class => [ ExtraUnitPaymentNotification::class ], BankRentPaymentEvent::class => [ BankRentPaymentNotification::class ], EventCreateEventTenant::class => [ SendNotificationToTenantWhenTenantCreatesEvent::class, SendNotificationToLandlordWhenTenantCreatesEvent::class ], ]; /** * Register any events for your application. */ public function boot(): void { // } /** * Determine if events and listeners should be automatically discovered. */ public function shouldDiscoverEvents(): bool { return false; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка