| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class UnknownQuery extends AbstractQuery |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @param \SimpleSAML\XML\Chunk $chunk The whole Query element as a chunk object. |
||
| 19 | * @param string $type The xsi:type of this condition. |
||
| 20 | */ |
||
| 21 | public function __construct( |
||
| 26 | } |
||
| 27 | |||
| 28 | |||
| 29 | /** |
||
| 30 | * Get the raw version of this query as a Chunk. |
||
| 31 | * |
||
| 32 | * @return \SimpleSAML\XML\Chunk |
||
| 33 | */ |
||
| 34 | public function getRawQuery(): Chunk |
||
| 35 | { |
||
| 36 | return $this->chunk; |
||
| 37 | } |
||
| 38 | |||
| 39 | |||
| 40 | /** |
||
| 41 | * Convert this unknown query to XML. |
||
| 42 | * |
||
| 43 | * @param \DOMElement|null $parent The element we are converting to XML. |
||
| 44 | * @return \DOMElement The XML element after adding the data corresponding to this unknown query. |
||
| 45 | */ |
||
| 46 | public function toXML(?DOMElement $parent = null): DOMElement |
||
| 49 | } |
||
| 50 | } |
||
| 51 |