| Total Complexity | 2 | 
| Total Lines | 24 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 16 | final class Company extends AbstractMdElement | ||
| 17 | { | ||
| 18 | use XMLStringElementTrait; | ||
|  | |||
| 19 | |||
| 20 | |||
| 21 | /** | ||
| 22 | * @param string $content | ||
| 23 | */ | ||
| 24 | public function __construct(string $content) | ||
| 25 |     { | ||
| 26 | $this->setContent($content); | ||
| 27 | } | ||
| 28 | |||
| 29 | |||
| 30 | /** | ||
| 31 | * Validate the content of the element. | ||
| 32 | * | ||
| 33 | * @param string $content The value to go in the XML textContent | ||
| 34 | * @throws \Exception on failure | ||
| 35 | * @return void | ||
| 36 | */ | ||
| 37 | protected function validateContent(string $content): void | ||
| 40 | } | ||
| 41 | } | ||
| 42 |