| Total Complexity | 3 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class SoapAction extends AbstractWsaElement |
||
| 16 | { |
||
| 17 | use URIElementTrait; |
||
| 18 | |||
| 19 | |||
| 20 | /** |
||
| 21 | * Initialize a wsa:SoapAction |
||
| 22 | * |
||
| 23 | * @param string $value |
||
| 24 | */ |
||
| 25 | public function __construct(string $value) |
||
| 26 | { |
||
| 27 | $this->setContent($value); |
||
| 28 | } |
||
| 29 | |||
| 30 | |||
| 31 | /** |
||
| 32 | * Convert XML into a wsa:SoapAction |
||
| 33 | * |
||
| 34 | * @param \DOMElement $xml The XML element we should load |
||
| 35 | * @return static |
||
| 36 | * |
||
| 37 | * @throws \SimpleSAML\XML\Exception\InvalidDOMElementException |
||
| 38 | * If the qualified name of the supplied element is wrong |
||
| 39 | */ |
||
| 40 | public static function fromXML(DOMElement $xml): static |
||
| 46 | } |
||
| 47 | |||
| 48 | |||
| 49 | /** |
||
| 50 | * Convert this element to XML. |
||
| 51 | * |
||
| 52 | * @param \DOMElement|null $parent The element we should append this element to. |
||
| 53 | * @return \DOMElement |
||
| 54 | */ |
||
| 55 | public function toXML(?DOMElement $parent = null): DOMElement |
||
| 61 | } |
||
| 62 | } |
||
| 63 |