The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by App\Events\CandidateMoved: $id, $relations, $class, $connection, $keyBy
Loading history...
16
17
/**
18
* @var Candidate
19
*/
20
public $candidate;
21
22
public $userId;
23
24
public $previousRecruitmentId;
25
public $newRecruitmentId;
26
27
/**
28
* Create a new event instance.
29
*
30
* @param Candidate $candidate
31
* @param $previousRecruitmentId
32
* @param $newRecruitmentId
33
* @param $userId
34
*/
35
public function __construct(Candidate $candidate, $previousRecruitmentId, $newRecruitmentId, $userId)