/** * @return \Illuminate\Support\Collection */ public function unreadConversations() { $conversations = $this->conversationRepository->getUnreadForUser($this->wrappedObject); foreach ($conversations as $key => $conversation) { $conversations[$key] = app()->make('MyBB\\Core\\Presenters\\Conversation', [$conversation]); } return $conversations; }