original_string: private function getSerializerValSourceExtBasedOn(ValueSourceExtension $ext)
      {
          return new SerializerValueSourceExtensionImpl(
              $ext->getMapper(),
              $ext->getSupportedValueSourceClass(),
              $ext->getUniqueExtensionId()
          );
      }
code: private function getSerializerValSourceExtBasedOn(ValueSourceExtension $ext)
      {
          return new SerializerValueSourceExtensionImpl(
              $ext->getMapper(),
              $ext->getSupportedValueSourceClass(),
              $ext->getUniqueExtensionId()
          );
      }
code_tokens: private function getSerializerValSourceExtBasedOn ( ValueSourceExtension $ ext ) { return new SerializerValueSourceExtensionImpl ( $ ext -> getMapper ( ) , $ ext -> getSupportedValueSourceClass ( ) , $ ext -> getUniqueExtensionId ( ) ) ; }
docstring: Converts a general value source extension into an extension accepted by
  the mapper.
  
  @param ValueSourceExtension $ext
  @return SerializerValueSourceExtensionImpl
docstring_tokens: Converts a general value source extension into an extension accepted by the mapper .