Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
16 | final class Audience extends AbstractConditionType |
||
17 | { |
||
18 | /** |
||
19 | * @param string $content |
||
20 | */ |
||
21 | public function __construct(string $content) |
||
24 | } |
||
25 | |||
26 | |||
27 | /** |
||
28 | * Convert XML into an Audience |
||
29 | * |
||
30 | * @param \DOMElement $xml The XML element we should load |
||
31 | * @return self |
||
32 | * |
||
33 | * @throws \SimpleSAML\XML\Exception\InvalidDOMElementException |
||
34 | * If the qualified name of the supplied element is wrong |
||
35 | */ |
||
36 | public static function fromXML(DOMElement $xml): object |
||
42 | } |
||
43 | |||
44 | |||
45 | /** |
||
46 | * Convert this Audience to XML. |
||
47 | * |
||
48 | * @param \DOMElement $parent The element we are converting to XML. |
||
49 | * @return \DOMElement The XML element after adding the data corresponding to this Condition. |
||
50 | */ |
||
51 | public function toXML(DOMElement $parent = null): DOMElement |
||
60 |