/**
  * {@inheritdoc}
  */
 public function getMapping()
 {
     $prestashopAttributeMappings = $this->attributeMappingManager->getAllPrestashopAttribute($this->clientParameters->getPrestashopUrl());
     $attributeCodeMapping = $this->attributeCodeMappingMerger->getMapping();
     $mappingCollection = new MappingCollection();
     foreach ($prestashopAttributeMappings as $prestashopAttributeMapping) {
         $pimAttributeCode = $prestashopAttributeMapping->getAttribute()->getCode();
         $mappingCollection->add(['source' => $attributeCodeMapping->getTarget($pimAttributeCode), 'target' => $prestashopAttributeMapping->getPrestashopAttributeId(), 'deletable' => true]);
     }
     return $mappingCollection;
 }