public function CombinationExtension::getCombinationTranslators in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/XPath/Extension/CombinationExtension.php \Symfony\Component\CssSelector\XPath\Extension\CombinationExtension::getCombinationTranslators()
Returns combination translators.
Return value
callable[]
Overrides AbstractExtension::getCombinationTranslators
File
- vendor/
symfony/ css-selector/ XPath/ Extension/ CombinationExtension.php, line 29
Class
- CombinationExtension
- XPath expression translator combination extension.
Namespace
Symfony\Component\CssSelector\XPath\ExtensionCode
public function getCombinationTranslators() {
return array(
' ' => array(
$this,
'translateDescendant',
),
'>' => array(
$this,
'translateChild',
),
'+' => array(
$this,
'translateDirectAdjacent',
),
'~' => array(
$this,
'translateIndirectAdjacent',
),
);
}