Automattic\WooCommerce\EmailEditorVendor\Symfony\Component\CssSelector\XPath
XPathExpr::__construct
Метод класса: XPathExpr{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$XPathExpr = new XPathExpr(); $XPathExpr->__construct( $path, $element, $condition, $starPrefix );
- $path(строка)
- .
По умолчанию:'' - $element(строка)
- .
По умолчанию: `''`* - $condition(строка)
- .
По умолчанию:'' - $starPrefix(true|false)
- .
По умолчанию:false
Код XPathExpr::__construct() XPathExpr:: construct WC 11.2.2
public function __construct(string $path = '', string $element = '*', string $condition = '', bool $starPrefix = false)
{
$this->path = $path;
$this->element = $element;
$this->condition = $condition;
if ($starPrefix) {
$this->addStarPrefix();
}
}