src/Amadeus/Client/ResponseHandler/StandardResponseHandler.php
protected function makeMessageFromMessagesNodeList($errorTextNodeList)
    {
        return implode(
            ' - ',
            array_map(
                function ($item) {
                    return trim($item->nodeValue);
                },
                iterator_to_array($errorTextNodeList)
            )
        );
    }
protected function makeMessageFromMessagesNodeList($errorTextNodeList)
    {
        return implode(
            ' - ',
            array_map(
                function ($item) {
                    return trim($item->nodeValue);
                },
                iterator_to_array($errorTextNodeList)
            )
        );
    }
protected function makeMessageFromMessagesNodeList ( $ errorTextNodeList ) { return implode ( ' - ' , array_map ( function ( $ item ) { return trim ( $ item -> nodeValue ) ; } , iterator_to_array ( $ errorTextNodeList ) ) ) ; }
Convert a DomNodeList of nodes containing a (potentially partial) error message into a string.

@param \DOMNodeList $errorTextNodeList
@return string|null
Convert a DomNodeList of nodes containing a ( potentially partial ) error message into a string .