public function AttributeMatchingExtension::getAttributeMatchingTranslators 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::getAttributeMatchingTranslators()
Returns attribute operation translators.
Return value
callable[]
Overrides AbstractExtension::getAttributeMatchingTranslators
File
- vendor/
symfony/ css-selector/ XPath/ Extension/ AttributeMatchingExtension.php, line 30
Class
- AttributeMatchingExtension
- XPath expression translator attribute extension.
Namespace
Symfony\Component\CssSelector\XPath\ExtensionCode
public function getAttributeMatchingTranslators() {
return array(
'exists' => array(
$this,
'translateExists',
),
'=' => array(
$this,
'translateEquals',
),
'~=' => array(
$this,
'translateIncludes',
),
'|=' => array(
$this,
'translateDashMatch',
),
'^=' => array(
$this,
'translatePrefixMatch',
),
'$=' => array(
$this,
'translateSuffixMatch',
),
'*=' => array(
$this,
'translateSubstringMatch',
),
'!=' => array(
$this,
'translateDifferent',
),
);
}