add rahyab notification service

This commit is contained in:
ehsan.moradi
2025-05-01 17:18:14 +03:30
parent 6d108e43c9
commit b573d1bbed
19 changed files with 1112 additions and 2 deletions
@@ -0,0 +1,32 @@
<?php
namespace App\Services\Notification\Events;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Queue\SerializesModels;
class SmsSent
{
use SerializesModels;
public Collection $collection;
public array $response;
public array $payload;
public array $extra;
/**
* Create a new event instance.
*
* @param Collection $collection
* @param array $response
* @param array $payload
* @param array $extra
*/
public function __construct( Collection $collection , array $response , array $payload , array $extra )
{
$this->collection = $collection;
$this->response = $response;
$this->payload = $payload;
$this->extra = $extra;
}
}