Property | Type | Description | |
---|---|---|---|
$conversation_id | integer | ||
$message | string |
Method | Description | |
---|---|---|
__construct ( Request $request ) | Create a new job instance. | |
handle ( |
Execute the job. | |
prepareData ( ) : array | Prepare an array to fill the reply model. | |
sendEmail ( Illuminate\Mail\Mailer $mailer, |
Send an email to the conversation owner. |
Method | Description | |
---|---|---|
authUserIsOwner ( $conversation ) : boolean | Return true if the auth user is the owner of the conversation where the reply was left |
public __construct ( Request $request ) | ||
$request | Request |
protected authUserIsOwner ( $conversation ) : boolean | ||
$conversation | ||
return | boolean |
public prepareData ( ) : array | ||
return | array |
public sendEmail ( Illuminate\Mail\Mailer $mailer, |
||
$mailer | Illuminate\Mail\Mailer | |
$reply |