We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The base can be found here: https://github.com/simplesamlphp/xml-common/wiki/Development
This library has one big exception for testUnmarshalling:
testUnmarshalling
Classes that implement the SignedElementTrait need to be fully decomposed during Unmarshalling:
SignedElementTrait
Unmarshalling
$reason = Reason::fromXML($this->xmlRepresentation->documentElement); $text = $reason->getText(); $this->assertCount(2, $text); $this->assertEquals('It\'s broken', $text[0]->getContent()); $this->assertEquals('en', $text[0]->getLanguage()); ...
This is important, because regular marshalling/unmarshalling for signed objects wouldn't cover it's getters/setters.