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

@param ValueSourceExtension $ext
@return SerializerValueSourceExtensionImpl
Converts a general value source extension into an extension accepted by the mapper .