Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\XPath
XPathExpr::join
Joins another XPathExpr with a combiner.
Method of the class: XPathExpr{}
No Hooks.
Returns
$this.
Usage
$XPathExpr = new XPathExpr(); $XPathExpr->join( $combiner, $expr ): self;
- $combiner(string) (required)
- .
- $expr(self) (required)
- .
XPathExpr::join() XPathExpr::join code WC 10.4.3
public function join(string $combiner, self $expr): self
{
$path = $this->__toString().$combiner;
if ('*/' !== $expr->path) {
$path .= $expr->path;
}
$this->path = $path;
$this->element = $expr->element;
$this->condition = $expr->condition;
return $this;
}