Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class XPath extends \SimpleSAML\XML\Utils\XPath |
||
17 | { |
||
18 | /** |
||
19 | * Get a DOMXPath object that can be used to search for CAS elements. |
||
20 | * |
||
21 | * @param \DOMNode $node The document to associate to the DOMXPath object. |
||
22 | * |
||
23 | * @return \DOMXPath A DOMXPath object ready to use in the given document, with several |
||
24 | * cas-related namespaces already registered. |
||
25 | */ |
||
26 | public static function getXPath(DOMNode $node): DOMXPath |
||
34 |