The trait SimpleSAML\XML\LocalizedStringElementTrait requires some properties which are not provided by SimpleSAML\SOAP\XML\env_200305\Text: $localName, $namespaceURI
Loading history...
18
19
20
/**
21
* Initialize a env:Text
22
*
23
* @param string $language
24
* @param string $content
25
*/
26
public function __construct(string $language, string $content)
27
{
28
$this->setContent($content);
29
$this->setLanguage($language);
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 \SimpleSAML\Assert\AssertionFailedException on failure
38
* @return void
39
*/
40
protected function validateContent(string $content): void