30 parent::__construct(
$xml);
47 assert(is_bool($this->isRequired) || is_null($this->isRequired));
51 if ($this->isRequired ===
true) {
52 $e->setAttribute(
'isRequired',
'true');
53 } elseif ($this->isRequired ===
false) {
54 $e->setAttribute(
'isRequired',
'false');
toXML(\DOMElement $parent)
Convert this RequestedAttribute to XML.
static parseBoolean(\DOMElement $node, $attributeName, $default=null)
Parse a boolean attribute.
const NS_MD
The namespace for the SAML 2 metadata.
__construct(\DOMElement $xml=null)
Initialize an RequestedAttribute.
toXMLInternal(\DOMElement $parent, $namespace, $name)
Internal implementation of toXML.