public function getFeedForUser(User $user) { $userIds = $user->followedUsers()->lists('followed_id'); $userIds[] = $user->id; return Status::whereIn('user_id', $userIds)->latest()->paginate($this->perPage); }