/**
  * {@inheritdoc}
  */
 public function execute()
 {
     parent::beforeExecute();
     $prestashopProducts = $this->webservice->getProductsStatus();
     $pimConfigurables = $this->getPimConfigurablesSkus();
     foreach ($prestashopProducts as $product) {
         if ($product['type'] === AbstractNormalizer::PRESTASHOP_CONFIGURABLE_PRODUCT_KEY && !in_array($product['sku'], $pimConfigurables)) {
             $this->handleProductNotInPimAnymore($product);
         }
     }
 }
 /**
  * @param WebserviceGuesser                   $webserviceGuesser
  * @param PrestashopRestClientParametersRegistry $clientParametersRegistry
  * @param ChannelManager                      $channelManager
  * @param ProductManager                      $productManager
  * @param AttributeRepository                 $attributeRepository
  */
 public function __construct(WebserviceGuesser $webserviceGuesser, PrestashopRestClientParametersRegistry $clientParametersRegistry, ChannelManager $channelManager, ProductManager $productManager, AttributeRepository $attributeRepository)
 {
     parent::__construct($webserviceGuesser, $clientParametersRegistry, $channelManager, $productManager);
     $this->attributeRepository = $attributeRepository;
 }