public function AttributeMatchingExtension::translateExists in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/XPath/Extension/AttributeMatchingExtension.php \Symfony\Component\CssSelector\XPath\Extension\AttributeMatchingExtension::translateExists()
Parameters
XPathExpr $xpath:
string $attribute:
string $value:
Return value
File
- vendor/
symfony/ css-selector/ XPath/ Extension/ AttributeMatchingExtension.php, line 51
Class
- AttributeMatchingExtension
- XPath expression translator attribute extension.
Namespace
Symfony\Component\CssSelector\XPath\ExtensionCode
public function translateExists(XPathExpr $xpath, $attribute, $value) {
return $xpath
->addCondition($attribute);
}