/**
  * Data for testResolveName.
  */
 public function dataResolveName()
 {
     $variantNameResolver = new VariantNameResolver();
     $purchasableNameResolver = new PurchasableNameResolver();
     $purchasableNameResolver->addPurchasableNameResolver($variantNameResolver);
     return [[$purchasableNameResolver], [$variantNameResolver]];
 }
Exemplo n.º 2
0
 /**
  * Data for testResolveName.
  */
 public function dataResolveName()
 {
     $productNameResolver = new ProductNameResolver();
     $purchasableNameResolver = new PurchasableNameResolver();
     $purchasableNameResolver->addPurchasableNameResolver($productNameResolver);
     return [[$purchasableNameResolver], [$productNameResolver]];
 }