original_string: public function normalizeToTranslationData($entity, $propertyPath, $formData)
      {
          $metadata = $this->metadataCollection->getMetadata($entity);
          $property = $metadata->getProperty($propertyPath);
          $strategy = $this->strategyResolver->getStrategy($property->getStrategy());
          return $strategy->normalizeToTranslationData($entity, $property, $formData, $metadata);
      }
code: public function normalizeToTranslationData($entity, $propertyPath, $formData)
      {
          $metadata = $this->metadataCollection->getMetadata($entity);
          $property = $metadata->getProperty($propertyPath);
          $strategy = $this->strategyResolver->getStrategy($property->getStrategy());
          return $strategy->normalizeToTranslationData($entity, $property, $formData, $metadata);
      }
code_tokens: public function normalizeToTranslationData ( $ entity , $ propertyPath , $ formData ) { $ metadata = $ this -> metadataCollection -> getMetadata ( $ entity ) ; $ property = $ metadata -> getProperty ( $ propertyPath ) ; $ strategy = $ this -> strategyResolver -> getStrategy ( $ property -> getStrategy ( ) ) ; return $ strategy -> normalizeToTranslationData ( $ entity , $ property , $ formData , $ metadata ) ; }
docstring: Normalize the form data. The data that a form contains after submit is a mix of the model data and the translation data.
  This function will return only the translation data.
  
  @param $entity
  @param $propertyPath
  @param $formData
  @return mixed
  @throws \Exception
docstring_tokens: Normalize the form data . The data that a form contains after submit is a mix of the model data and the translation data . This function will return only the translation data .