The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by App\Mail\ContactMessageSent: $id, $relations, $class, $keyBy
Loading history...
13
14
/**
15
* @var mixed
16
*/
17
public $message;
18
19
/**
20
* Create a new message instance.
21
*
22
* @return void
23
*/
24
public function __construct(array $message)
25
{
26
$this->message = $message;
27
}
28
29
/**
30
* Build the message.
31
*
32
* @return $this
33
*/
34
public function build()
35
{
36
return $this->subject('Thank You For Getting In Touch')