| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class Node extends AbstractSoapElement |
||
| 17 | { |
||
| 18 | use StringElementTrait; |
||
| 19 | |||
| 20 | |||
| 21 | /** |
||
| 22 | * Initialize a env:Node |
||
| 23 | * |
||
| 24 | * @param string $node |
||
| 25 | */ |
||
| 26 | public function __construct(string $node) |
||
| 29 | } |
||
| 30 | |||
| 31 | |||
| 32 | /** |
||
| 33 | * Validate the content of the element. |
||
| 34 | * |
||
| 35 | * @param string $content The value to go in the XML textContent |
||
| 36 | * @throws \Exception on failure |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | protected function validateContent(string $content): void |
||
| 44 |