Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | final class UnknownID extends AbstractBaseID |
||
16 | { |
||
17 | /** @var \SimpleSAML\XML\Chunk */ |
||
18 | protected Chunk $chunk; |
||
19 | |||
20 | /** |
||
21 | * @param \SimpleSAML\XML\Chunk $chunk The whole BaseID element as a chunk object. |
||
22 | * @param string $type The xsi:type of this identifier. |
||
23 | * @param string|null $NameQualifier |
||
24 | * @param string|null $SPNameQualifier |
||
25 | */ |
||
26 | public function __construct( |
||
34 | } |
||
35 | |||
36 | |||
37 | /** |
||
38 | * Get the raw version of this identifier as a Chunk |
||
39 | * |
||
40 | * @return \SimpleSAML\XML\Chunk |
||
41 | */ |
||
42 | public function getRawIdentifier(): Chunk |
||
45 | } |
||
46 | |||
47 | |||
48 | /** |
||
49 | * Convert this unknown ID to XML. |
||
50 | * |
||
51 | * @param \DOMElement|null $parent The element we are converting to XML. |
||
52 | * @return \DOMElement The XML element after adding the data corresponding to this unknown ID. |
||
53 | */ |
||
54 | public function toXML(DOMElement $parent = null): DOMElement |
||
59 |