/**
  * {@inheritdoc}
  */
 protected function beforeExecute()
 {
     parent::beforeExecute();
     $this->optionNormalizer = $this->normalizerGuesser->getOptionNormalizer($this->getClientParameters());
     $prestashopStoreViews = $this->webservice->getStoreViewsList();
     $this->globalContext['prestashopStoreViews'] = $prestashopStoreViews;
     $this->globalContext['attributeCodeMapping'] = $this->attributeCodeMappingMerger->getMapping();
 }
 /**
  * {@inheritdoc}
  */
 protected function beforeExecute()
 {
     parent::beforeExecute();
     $prestashopStoreViews = $this->webservice->getStoreViewsList();
     $this->familyNormalizer = $this->normalizerGuesser->getFamilyNormalizer($this->getClientParameters());
     $this->globalContext['prestashopFamilies'] = $this->webservice->getAttributeSetList();
     $this->globalContext['prestashopStoreViews'] = $prestashopStoreViews;
     $this->globalContext['defaultStoreView'] = $this->getDefaultStoreView();
 }
 /**
  * Function called before all process.
  */
 protected function beforeExecute()
 {
     parent::beforeExecute();
     $this->productNormalizer = $this->normalizerGuesser->getProductNormalizer($this->getClientParameters(), $this->enabled, $this->visibility, $this->variantMemberVisibility, $this->currency);
     $prestashopStoreViews = $this->webservice->getStoreViewsList();
     $prestashopAttributes = $this->webservice->getAllAttributes();
     $prestashopAttributesOptions = $this->webservice->getAllAttributesOptions();
     $this->globalContext = array_merge($this->globalContext, ['channel' => $this->channel, 'website' => $this->website, 'prestashopAttributes' => $prestashopAttributes, 'prestashopAttributesOptions' => $prestashopAttributesOptions, 'prestashopStoreViews' => $prestashopStoreViews, 'categoryMapping' => $this->categoryMappingMerger->getMapping(), 'attributeCodeMapping' => $this->attributeMappingMerger->getMapping(), 'smallImageAttribute' => $this->smallImageAttribute, 'baseImageAttribute' => $this->baseImageAttribute, 'thumbnailAttribute' => $this->thumbnailAttribute, 'urlKey' => $this->urlKey, 'skuFirst' => $this->skuFirst]);
 }
 /**
  * Function called before all process.
  */
 protected function beforeExecute()
 {
     parent::beforeExecute();
     $this->categoryNormalizer = $this->normalizerGuesser->getCategoryNormalizer($this->getClientParameters());
     $prestashopStoreViews = $this->webservice->getStoreViewsList();
     $prestashopCategories = $this->webservice->getCategoriesStatus();
     $this->globalContext = array_merge($this->globalContext, ['prestashopCategories' => $prestashopCategories, 'prestashopUrl' => $this->getPrestashopUrl(), 'defaultLocale' => $this->defaultLocale, 'prestashopStoreViews' => $prestashopStoreViews, 'categoryMapping' => $this->categoryMappingMerger->getMapping(), 'defaultStoreView' => $this->getDefaultStoreView(), 'is_anchor' => $this->isAnchor, 'urlKey' => $this->urlKey]);
 }