Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class DomainValue extends SAMLStringValue |
||
15 | { |
||
16 | /** |
||
17 | * Sanitize the content of the element. |
||
18 | * |
||
19 | * @param string $value The unsanitized value |
||
20 | * @throws \Exception on failure |
||
21 | * @return string |
||
22 | */ |
||
23 | protected function sanitizeValue(string $value): string |
||
29 | } |
||
30 | |||
31 | |||
32 | /** |
||
33 | * Validate the content of the element. |
||
34 | * |
||
35 | * @param string $value The value to go in the XML textContent |
||
36 | * @throws \Exception on failure |
||
37 | * @return void |
||
38 | */ |
||
39 | protected function validateValue(string $value): void |
||
44 |