src/Exception/SamlException.php
protected function getContent()
    {
        $response = new SamlResponse();
        $response->setStatus(new Status(new StatusCode($this->status)));

        $context = new SerializationContext();
        $response->serialize($context->getDocument(), $context);

        return $context->getDocument()->saveXML();
    }
protected function getContent()
    {
        $response = new SamlResponse();
        $response->setStatus(new Status(new StatusCode($this->status)));

        $context = new SerializationContext();
        $response->serialize($context->getDocument(), $context);

        return $context->getDocument()->saveXML();
    }
protected function getContent ( ) { $ response = new SamlResponse ( ) ; $ response -> setStatus ( new Status ( new StatusCode ( $ this -> status ) ) ) ; $ context = new SerializationContext ( ) ; $ response -> serialize ( $ context -> getDocument ( ) , $ context ) ; return $ context -> getDocument ( ) -> saveXML ( ) ; }
Returns the Saml error reporting

@return string
Returns the Saml error reporting