19 private $clientResolver;
24 private $productFieldMappers;
33 array $productFieldMappers
35 $this->clientResolver = $clientResolver;
36 $this->productFieldMappers = $productFieldMappers;
42 private function getProductFieldMapper()
44 return $this->productFieldMappers[$this->clientResolver->getCurrentEngine()];
57 return $this->getProductFieldMapper()->getFieldName(
$attributeCode, $context);
69 return $this->getProductFieldMapper()->getAllAttributesTypes($context);
getAllAttributesTypes($context=[])
getFieldName($attributeCode, $context=[])
__construct(ClientResolver $clientResolver, array $productFieldMappers)