You are here

public function CombinationExtension::translateChild in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/XPath/Extension/CombinationExtension.php \Symfony\Component\CssSelector\XPath\Extension\CombinationExtension::translateChild()

Parameters

XPathExpr $xpath:

XPathExpr $combinedXpath:

Return value

XPathExpr

File

vendor/symfony/css-selector/XPath/Extension/CombinationExtension.php, line 56

Class

CombinationExtension
XPath expression translator combination extension.

Namespace

Symfony\Component\CssSelector\XPath\Extension

Code

public function translateChild(XPathExpr $xpath, XPathExpr $combinedXpath) {
  return $xpath
    ->join('/', $combinedXpath);
}