ConfiguratorGatewayInterface
$configuratorGateway ) { $this->productConfigurationGateway =
$productConfigurationGateway;
$this->configuratorGateway =
$configuratorGateway;
} /**
* {@inheritdoc}
*/
public function getProductConfiguration(BaseProduct
$product, ShopContextInterface
$context) { $configuration =
$this->
getProductsConfigurations([$product],
$context);
return array_shift($configuration);
} /**
* {@inheritdoc}
*/
public function getProductsConfigurations($products, ShopContextInterface
$context) { return $this->productConfigurationGateway->
getList($products,
$context);
}