class XPathExpr
XPath expression translator interface.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
__construct(string $path = '', string $element = '*', string $condition = '', bool $starPrefix = false) | ||
string | getElement() | |
$this | addCondition($condition) | |
string | getCondition() | |
$this | addNameTest() | |
$this | addStarPrefix() | |
$this | join(string $combiner, XPathExpr $expr) Joins another XPathExpr with a combiner. | |
string | __toString() |
Joins another XPathExpr with a combiner.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/CssSelector/XPath/XPathExpr.html