| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | abstract class AbstractExtensibilityElement extends AbstractWsdlElement |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Initialize a wsdl:tExtensibilityElement |
||
| 18 | * |
||
| 19 | * @param bool|null $required |
||
| 20 | */ |
||
| 21 | public function __construct( |
||
| 22 | protected ?bool $required = null, |
||
| 23 | ) { |
||
| 24 | } |
||
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * Collect the value of the required-property. |
||
| 29 | * |
||
| 30 | * @return bool|null |
||
| 31 | */ |
||
| 32 | public function getRequired(): ?bool |
||
| 35 | } |
||
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * Convert this tExtensibilityElement to XML. |
||
| 40 | * |
||
| 41 | * @param \DOMElement|null $parent The element we are converting to XML. |
||
| 42 | * @return \DOMElement The XML element after adding the data corresponding to this tExtensibilityElement |
||
| 43 | */ |
||
| 44 | public function toXML(DOMElement $parent = null): DOMElement |
||
| 53 | } |
||
| 54 | } |
||
| 55 |