public function addTranslationData($entity, $propertyPath, $data)
    {
        $metadata = $this->metadataCollection->getMetadata($entity);
        $property = $metadata->getProperty($propertyPath);
        $strategy = $this->strategyResolver->getStrategy($property->getStrategy());
        $strategy->addTranslationData($entity, $property, $data, $metadata);
    }
public function addTranslationData($entity, $propertyPath, $data)
    {
        $metadata = $this->metadataCollection->getMetadata($entity);
        $property = $metadata->getProperty($propertyPath);
        $strategy = $this->strategyResolver->getStrategy($property->getStrategy());
        $strategy->addTranslationData($entity, $property, $data, $metadata);
    }
public function addTranslationData ( $ entity , $ propertyPath , $ data ) { $ metadata = $ this -> metadataCollection -> getMetadata ( $ entity ) ; $ property = $ metadata -> getProperty ( $ propertyPath ) ; $ strategy = $ this -> strategyResolver -> getStrategy ( $ property -> getStrategy ( ) ) ; $ strategy -> addTranslationData ( $ entity , $ property , $ data , $ metadata ) ; }
Add translation data, but does not store it.

@param $entity
@param string $propertyPath Property of the entity, that should be added
@param mixed $data
@throws \Exception
Add translation data but does not store it .