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