| Total Complexity | 2 | 
| Total Lines | 26 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 16 | final class Role extends AbstractSoapElement | ||
| 17 | { | ||
| 18 | use StringElementTrait; | ||
| 19 | |||
| 20 | |||
| 21 | /** | ||
| 22 | * Initialize a env:Role | ||
| 23 | * | ||
| 24 | * @param string $role | ||
| 25 | */ | ||
| 26 | public function __construct(string $role) | ||
| 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 |