* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Product\Combination\NameBuilder; use PrestaShop\PrestaShop\Core\Domain\Product\Combination\CombinationAttributeInformation; interface CombinationNameBuilderInterface { /** * Build combination name from related attributes and attribute group names * * @param CombinationAttributeInformation[] $attributesInfo * * @return string */ public function buildName(array $attributesInfo): string; /** * Build combination full name from related product and attributes and attribute group names * * @param string $productName * @param CombinationAttributeInformation[] $attributesInfo * * @return string */ public function buildFullName(string $productName, array $attributesInfo): string; }