/** * Get attribute axis. * * @return array */ protected function getAxisAttributes() { $result = []; $attributeAxis = $this->groupManager->getRepository()->getAxisAttributes(); foreach ($attributeAxis as $attribute) { $result[] = $attribute['code']; } return array_unique($result); }
/** * Get all variant group skus. * * @return array */ protected function getPimConfigurablesSkus() { return $this->groupManager->getRepository()->getVariantGroupSkus(); }
/** * Get the group repository. * * @return \Doctrine\ORM\EntityRepository */ protected function getGroupRepository() { return $this->groupManager->getRepository(); }