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