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