protected function getTagsForEntityClass($entityClass, array $ids) { return array_reduce($this->tagManager->getTagsByEntityIds($entityClass, $ids), function ($tags, $item) { $tags[$item['entityId']][] = $item; return $tags; }, []); }
protected function getTagsForEntityClass($entityClass, array $ids) { return array_reduce($this->tagManager->getTagsByEntityIds($entityClass, $ids), function ($tags, $item) { $tags[$item['entityId']][] = $item; return $tags; }, []); }