/**
* @param array[] $data
*
* @return Group
*/
private function hydrateGroup($data) { $group =
$this->hydrator->
hydrateGroup($data[0
]);
$options =
[];
foreach ($data as $row) { $options[] =
$this->hydrator->
hydrateOption($row);
} $group->
setOptions($options);
return $group;
} /**
* @return \Doctrine\DBAL\Query\QueryBuilder
*/
private function getQuery(ShopContextInterface
$context) {