public function CombinationExtension::translateDescendant in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/XPath/Extension/CombinationExtension.php \Symfony\Component\CssSelector\XPath\Extension\CombinationExtension::translateDescendant()
Parameters
XPathExpr $xpath:
XPathExpr $combinedXpath:
Return value
File
- vendor/
symfony/ css-selector/ XPath/ Extension/ CombinationExtension.php, line 45
Class
- CombinationExtension
- XPath expression translator combination extension.
Namespace
Symfony\Component\CssSelector\XPath\ExtensionCode
public function translateDescendant(XPathExpr $xpath, XPathExpr $combinedXpath) {
return $xpath
->join('/descendant-or-self::*/', $combinedXpath);
}