ldc-legaulois/app/Events/NewNotification.php

36 lines
654 B
PHP
Raw Normal View History

<?php
namespace App\Events;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class NewNotification
{
2021-03-20 14:38:15 +01:00
use Dispatchable;
use InteractsWithSockets;
use SerializesModels;
2021-03-21 22:51:19 +01:00
public $type;
public $content;
public $model;
public $customer;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($type, $content, $model, $customer = null)
{
$this->type = $type;
$this->content = $content;
$this->model = $model;
$this->customer = $customer;
}
}