Свойство | Тип | Описание | |
---|---|---|---|
$conversation_id | integer | ||
$message | string |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
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 | ||
Результат | boolean |
public prepareData ( ) : array | ||
Результат | array |
public sendEmail ( Illuminate\Mail\Mailer $mailer, |
||
$mailer | Illuminate\Mail\Mailer | |
$reply |