Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class HexBinaryValue extends StringValue |
||
14 | { |
||
15 | /** |
||
16 | * Sanitize the content. |
||
17 | * |
||
18 | * Note: There are no processing rules for xs:hexBinary regarding whitespace. General consensus is to strip them |
||
19 | * |
||
20 | * @param string $content The unsanitized content |
||
21 | * @throws \Exception on failure |
||
22 | * @return string |
||
23 | */ |
||
24 | protected function sanitizeContent(string $content): string |
||
27 | } |
||
28 | |||
29 | |||
30 | /** |
||
31 | * Validate the content of the element. |
||
32 | * |
||
33 | * @param string $content |
||
34 | * @throws \SimpleSAML\XML\Exception\SchemaViolationException on failure |
||
35 | * @return void |
||
36 | */ |
||
37 | protected function validateContent(string $content): void |
||
47 |