public static function findReplies($commentId, $limit = 5, $afterId = null)
{
$commentReplies = isset(self::$commentReplies[$commentId]) ? self::$commentReplies[$commentId] : [];
$start = isset($after) ? (int) array_search($afterId, $commentReplies) + 1 : 0;
$commentReplies = array_slice($commentReplies, $start, $limit);
return array_map(function ($replyId) {
return self::$comments[$replyId];
}, $commentReplies);
}