function __construct(ConversationRepo $conversationRepo) { $this->middleware('auth', ['only' => ['store']]); $this->conversationRepo = $conversationRepo; }