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