src/Amadeus/Client/Util/MsgBodyExtractor.php
public function extract($soapResponse)
    {
        $messageBody = null;

        $messageBody = $this->getStringBetween($soapResponse, '<SOAP-ENV:Body>', '</SOAP-ENV:Body>');

        if (empty($messageBody) || false === $messageBody) {
            $messageBody = $this->getStringBetween($soapResponse, '<soap:Body>', '</soap:Body>');
        }

        return $messageBody;
    }
public function extract($soapResponse)
    {
        $messageBody = null;

        $messageBody = $this->getStringBetween($soapResponse, '<SOAP-ENV:Body>', '</SOAP-ENV:Body>');

        if (empty($messageBody) || false === $messageBody) {
            $messageBody = $this->getStringBetween($soapResponse, '<soap:Body>', '</soap:Body>');
        }

        return $messageBody;
    }
public function extract ( $ soapResponse ) { $ messageBody = null ; $ messageBody = $ this -> getStringBetween ( $ soapResponse , '<SOAP-ENV:Body>' , '</SOAP-ENV:Body>' ) ; if ( empty ( $ messageBody ) || false === $ messageBody ) { $ messageBody = $ this -> getStringBetween ( $ soapResponse , '<soap:Body>' , '</soap:Body>' ) ; } return $ messageBody ; }
Extracts the message content from the soap envelope (i.e. everything under the soap body)

@param string $soapResponse
@return string|null
Extracts the message content from the soap envelope ( i . e . everything under the soap body )