Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class BooleanValue extends AbstractValueType |
||
16 | { |
||
17 | /** |
||
18 | * Sanitize the value. |
||
19 | * |
||
20 | * @param string $value The unsanitized value |
||
21 | * @return string |
||
22 | */ |
||
23 | protected function sanitizeValue(string $value): string |
||
26 | } |
||
27 | |||
28 | |||
29 | /** |
||
30 | * Validate the value. |
||
31 | * |
||
32 | * @param string $value |
||
33 | * @throws \SimpleSAML\XML\Exception\SchemaViolationException on failure |
||
34 | * @return void |
||
35 | */ |
||
36 | protected function validateValue(string $value): void |
||
42 |