ldc-legaulois/app/Events/NewNotification.php
2021-03-21 22:51:19 +01:00

32 lines
576 B
PHP

<?php
namespace App\Events;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class NewNotification
{
use Dispatchable;
use InteractsWithSockets;
use SerializesModels;
public $type;
public $content;
public $model;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($type, $content, $model)
{
$this->type = $type;
$this->content = $content;
$this->model = $model;
}
}