public function XPathExpr::join in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/XPath/XPathExpr.php \Symfony\Component\CssSelector\XPath\XPathExpr::join()
Joins another XPathExpr with a combiner.
Parameters
string $combiner:
XPathExpr $expr:
Return value
File
- vendor/
symfony/ css-selector/ XPath/ XPathExpr.php, line 115
Class
- XPathExpr
- XPath expression translator interface.
Namespace
Symfony\Component\CssSelector\XPathCode
public function join($combiner, XPathExpr $expr) {
$path = $this
->__toString() . $combiner;
if ('*/' !== $expr->path) {
$path .= $expr->path;
}
$this->path = $path;
$this->element = $expr->element;
$this->condition = $expr->condition;
return $this;
}