} if ($message->
allow(self::CHILD_COUNT_UPDATER
)) { $this->childCountUpdater->
update(MediaFolderDefinition::ENTITY_NAME,
$ids,
$message->
getContext());
} if (!
empty($children) &&
$message->
allow(self::TREE_UPDATER
)) { $this->treeUpdater->
batchUpdate($children, MediaFolderDefinition::ENTITY_NAME,
$context);
} $this->eventDispatcher->
dispatch(new MediaFolderIndexerEvent($ids,
$message->
getContext(),
$message->
getSkip()));
} public function getOptions(): array
{ return [ self::CHILD_COUNT_UPDATER,
self::TREE_UPDATER,
];
} public function getTotal(): int
{