protected function getErrorMessage(array $errors)
    {
        $error_message = '';
        foreach ($errors as $error) {
            $error_message .= $this->parseError($error) . PHP_EOL . PHP_EOL;
        }

        return $error_message;
    }
protected function getErrorMessage(array $errors)
    {
        $error_message = '';
        foreach ($errors as $error) {
            $error_message .= $this->parseError($error) . PHP_EOL . PHP_EOL;
        }

        return $error_message;
    }
protected function getErrorMessage ( array $ errors ) { $ error_message = '' ; foreach ( $ errors as $ error ) { $ error_message .= $ this -> parseError ( $ error ) . PHP_EOL . PHP_EOL ; } return $ error_message ; }
Converts a given list of libxml errors into an error report.

@param array $errors

@return string
Converts a given list of libxml errors into an error report .