| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class XPath extends AbstractSpElement |
||
| 19 | { |
||
| 20 | use StringElementTrait; |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * Initialize an XPath. |
||
| 25 | * |
||
| 26 | * @param string $content |
||
| 27 | */ |
||
| 28 | public function __construct( |
||
| 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 \SimpleSAML\XML\Exception\SchemaViolationException on failure |
||
| 40 | * @return void |
||
| 41 | */ |
||
| 42 | protected function validateContent(string $content): void |
||
| 49 |