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