public function getMessage()
    {
        $response = [];

        if ($messages = $this->data->query('/Message/Body/Errors')->array()) {
            foreach ($messages as $message) {
                $response[] = $message->textContent;
            }
        }

        return count($response) ? implode(', ', $response) : null;
    }
public function getMessage()
    {
        $response = [];

        if ($messages = $this->data->query('/Message/Body/Errors')->array()) {
            foreach ($messages as $message) {
                $response[] = $message->textContent;
            }
        }

        return count($response) ? implode(', ', $response) : null;
    }
public function getMessage ( ) { $ response = [ ] ; if ( $ messages = $ this -> data -> query ( '/Message/Body/Errors' ) -> array ( ) ) { foreach ( $ messages as $ message ) { $ response [ ] = $ message -> textContent ; } } return count ( $ response ) ? implode ( ', ' , $ response ) : null ; }
Text description of the status.

@return string|null
Text description of the status .