if ($message->
allow(self::TREE_UPDATER
)) { $this->treeUpdater->
batchUpdate($ids, CategoryDefinition::ENTITY_NAME,
$context);
} if ($message->
allow(self::BREADCRUMB_UPDATER
)) { // listen to name changes
$this->breadcrumbUpdater->
update($ids,
$context);
} });
$this->eventDispatcher->
dispatch(new CategoryIndexerEvent($ids,
$context,
$message->
getSkip()));
} public function getOptions(): array
{ return [ self::CHILD_COUNT_UPDATER,
self::TREE_UPDATER,
self::BREADCRUMB_UPDATER,
];
}