38 lines
723 B
PHP
38 lines
723 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Events;
|
||
|
|
|
||
|
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
|
||
|
|
class Report
|
||
|
|
{
|
||
|
|
use SerializesModels;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var
|
||
|
|
*/
|
||
|
|
public $user;
|
||
|
|
public $type;
|
||
|
|
public $reportedFor;
|
||
|
|
public $reportSubject;
|
||
|
|
public $description;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Report constructor.
|
||
|
|
* @param $user
|
||
|
|
* @param $type
|
||
|
|
* @param $reportedFor
|
||
|
|
* @param $reportSubject
|
||
|
|
* @param $description
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function __construct($user, $type, $reportedFor, $reportSubject, $description)
|
||
|
|
{
|
||
|
|
$this->user = $user;
|
||
|
|
$this->type = $type;
|
||
|
|
$this->reportedFor = $reportedFor;
|
||
|
|
$this->reportSubject = $reportSubject;
|
||
|
|
$this->description = $description;
|
||
|
|
}
|
||
|
|
}
|