| 1 |
<?php |
| 2 |
|
| 3 |
// AUTOMATICALLY GENERATED. DO NOT EDIT. |
| 4 |
// Use `composer build` to regenerate. |
| 5 |
|
| 6 |
namespace Wikimedia\IDLeDOM; |
| 7 |
|
| 8 |
/** |
| 9 |
* XPathExpression |
| 10 |
* |
| 11 |
* @see https://dom.spec.whatwg.org/#interface-xpathexpression |
| 12 |
* |
| 13 |
* @phan-forbid-undeclared-magic-properties |
| 14 |
*/ |
| 15 |
interface XPathExpression { |
| 16 |
/** |
| 17 |
* @param Node $contextNode |
| 18 |
* @param int $type |
| 19 |
* @param XPathResult|null $result |
| 20 |
* @return XPathResult |
| 21 |
*/ |
| 22 |
public function evaluate( /* Node */ $contextNode, int $type = 0, /* ?XPathResult */ $result = null ); |
| 23 |
|
| 24 |
} |