The trait SimpleSAML\XML\XMLStringElementTrait requires some properties which are not provided by SimpleSAML\SAML2\XML\md\Company: $localName, $namespaceURI
Loading history...
19
20
21
/**
22
* Validate the content of the element.
23
*
24
* @param string $content The value to go in the XML textContent
25
* @throws \Exception on failure
26
* @return void
27
*/
28
protected function validateContent(string $content): void
29
{
30
Assert::notEmpty($content, 'Company cannot be empty');