The trait SimpleSAML\XML\XMLStringElementTrait requires some properties which are not provided by SimpleSAML\SAML2\XML\saml\AuthnContextClassRef: $localName, $namespaceURI
Loading history...
22
23
24
/**
25
* @param string $content
26
*/
27
public function __construct(string $content)
28
{
29
$this->setContent($content);
30
}
31
32
33
/**
34
* Validate the content of the element.
35
*
36
* @param string $content The value to go in the XML textContent
37
* @throws \Exception on failure
38
* @return void
39
*/
40
protected function validateContent(string $content): void