protected function formatSVRLFailure(DOMElement $failedAssert)
    {
        $location = $failedAssert->getAttribute('location');

        return (strlen($location) ? $location . ': ' : '') . $failedAssert->textContent;
    }
protected function formatSVRLFailure(DOMElement $failedAssert)
    {
        $location = $failedAssert->getAttribute('location');

        return (strlen($location) ? $location . ': ' : '') . $failedAssert->textContent;
    }
protected function formatSVRLFailure ( DOMElement $ failedAssert ) { $ location = $ failedAssert -> getAttribute ( 'location' ) ; return ( strlen ( $ location ) ? $ location . ': ' : '' ) . $ failedAssert -> textContent ; }
Returns SVRL assertion failure as a string.

@param \DOMElement $failedAssert

@return string
Returns SVRL assertion failure as a string .