src/Amadeus/Client/Session/Handler/WsdlAnalyser.php
protected static function extractMessageVersion($fullVersionString)
    {
        $marker = strpos($fullVersionString, '_', strpos($fullVersionString, '_') + 1);

        $num = substr($fullVersionString, $marker + 1);

        return str_replace('_', '.', $num);
    }
protected static function extractMessageVersion($fullVersionString)
    {
        $marker = strpos($fullVersionString, '_', strpos($fullVersionString, '_') + 1);

        $num = substr($fullVersionString, $marker + 1);

        return str_replace('_', '.', $num);
    }
extractMessageVersion

extracts "4.1" from a string like "Security_SignOut_4_1"
or "1.00" from a string like "tns:AMA_MediaGetMediaRQ_1.000"

@param string $fullVersionString
@return string