PHP Класс Socieboy\Forum\Jobs\Conversations\StartConversation

Наследование: extends App\Jobs\Job, implements Illuminate\Contracts\Queue\ShouldQueue, use trait Illuminate\Queue\InteractsWithQueue, use trait Illuminate\Queue\SerializesModels
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$message string
$title string
$topic_id string

Открытые методы

Метод Описание
__construct ( Request $request ) Create a new job instance.
handle ( ConversationRepo $conversationRepo ) : void Execute the job.
prepareDate ( ) : array Prepare array to fill the conversation model.

Защищенные методы

Метод Описание
authUserIsOwner ( $conversation ) : boolean Return true if the auth user is the owner of the conversation where the reply was left

Описание методов

__construct() публичный Метод

Create a new job instance.
public __construct ( Request $request )
$request Request

authUserIsOwner() защищенный Метод

Return true if the auth user is the owner of the conversation where the reply was left
protected authUserIsOwner ( $conversation ) : boolean
$conversation
Результат boolean

handle() публичный Метод

Execute the job.
public handle ( ConversationRepo $conversationRepo ) : void
$conversationRepo Socieboy\Forum\Entities\Conversations\ConversationRepo
Результат void

prepareDate() публичный Метод

Prepare array to fill the conversation model.
public prepareDate ( ) : array
Результат array

Описание свойств

$message защищенное свойство

protected string $message
Результат string

$title защищенное свойство

protected string $title
Результат string

$topic_id защищенное свойство

protected string $topic_id
Результат string