Symfony\Component\CssSelector\XPath
XPathExpr::__construct() public WC 1.0
{} Это метод класса: XPathExpr{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$XPathExpr = new XPathExpr(); $XPathExpr->__construct( $path, $element, $condition, $starPrefix );
- $path(строка)
- -
- $element(строка)
- -
- $condition(строка)
- -
- $starPrefix(true/false)
- -
Код XPathExpr::__construct() XPathExpr:: construct WC 5.0.0
public function __construct($path = '', $element = '*', $condition = '', $starPrefix = false)
{
$this->path = $path;
$this->element = $element;
$this->condition = $condition;
if ($starPrefix) {
$this->addStarPrefix();
}
}