Класс ChatAncestorIterator

Runtime walker over a chat's parent chain. Pure iteration helper: yields ancestors lazily, stops at $maxDepth or when a parent cannot be resolved. Callers do whatever they need at each level (send pulls, query data, narrow user cohorts, ...). No SQL — for query-time ancestor joins see {@see ChatAncestorNavigator}.

class

Полное имя класса

Bitrix\Im\V2\Chat\Tree\ChatAncestorIterator

Методы

Методы и их характеристики

2 методов