Laravel Calmining с пределом

$feed= Feed::whereUserId($userId)->with(['comments'])->get()->map(function ($query) {
            $query->setRelation('comments', $query->comments->take(10));
            return $query;
        });
Aashiq Hasnat