Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/app/Listeners/SomniAnnualFeeNotificationToTenant.php
Назад
<?php namespace App\Listeners; use App\Events\SomniAnnualFeeEvent; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; use App\Repositories\NotificationRepository; use App\Interfaces\NotificationRepositoryInterface; class SomniAnnualFeeNotificationToTenant { /** * Create the event listener. */ public function __construct(NotificationRepository $notifRepo) { $this->notificationInterfaceObj = $notifRepo; } /** * Handle the event. */ public function handle(SomniAnnualFeeEvent $event): void { $title = 'Annual Somni Fee'; $message = 'The Annual Somni Fee of $'.number_format($event->amount,2).' has been recieved by SOMNI'; $fl = $this->notificationInterfaceObj->CreateAndSendNotification($event->tenant,$title,$message); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка