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

public model ( ) : Conversation
Результат Conversation
Пример #1
0
 /**
  * Execute the job.
  *
  * @param ConversationRepo $conversationRepo
  *
  * @return void
  */
 public function handle(ConversationRepo $conversationRepo)
 {
     $conversation = $conversationRepo->model();
     $conversation->fill($this->prepareDate());
     $conversation->save();
     if (config('forum.events.fire')) {
         event(new NewConversation($conversation));
     }
 }
 /**
  * Execute the job.
  *
  * @param ConversationRepo $conversationRepo
  * @return void
  */
 public function handle(ConversationRepo $conversationRepo)
 {
     $conversation = $conversationRepo->model();
     $conversation->fill($this->prepareDate());
     $conversation->save();
 }