Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | final class AssertionIDRef extends AbstractSamlElement implements SchemaValidatableElementInterface |
||
19 | { |
||
20 | use SchemaValidatableElementTrait; |
||
21 | use StringElementTrait { |
||
|
|||
22 | StringElementTrait::validateContent as baseValidateContent; |
||
23 | } |
||
24 | |||
25 | |||
26 | /** |
||
27 | * @param string $content |
||
28 | */ |
||
29 | public function __construct(string $content) |
||
32 | } |
||
33 | |||
34 | |||
35 | /** |
||
36 | * Validate the content of the element. |
||
37 | * |
||
38 | * @param string $content The value to go in the XML textContent |
||
39 | * @throws \Exception on failure |
||
40 | * @return void |
||
41 | */ |
||
42 | protected function validateContent(string $content): void |
||
48 |