Automattic\WooCommerce\EmailEditorVendor\Symfony\Component\CssSelector\XPath

XPathExpr::join │ public │ WC 1.0

Joins another XPathExpr with a combiner.

Метод класса: XPathExpr{}

Хуков нет.

Возвращает

$this.

Использование

$XPathExpr = new XPathExpr();
$XPathExpr->join( $combiner, $expr ): self;
$combiner(строка) (обязательный)
.
$expr(self) (обязательный)
.

Код XPathExpr::join() WC 11.2.2

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;
}