public function NodeExtension::getNodeTranslators in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/XPath/Extension/NodeExtension.php \Symfony\Component\CssSelector\XPath\Extension\NodeExtension::getNodeTranslators()
Returns node translators.
These callables will receive the node as first argument and the translator as second argument.
Return value
callable[]
Overrides AbstractExtension::getNodeTranslators
File
- vendor/
symfony/ css-selector/ XPath/ Extension/ NodeExtension.php, line 79
Class
- NodeExtension
- XPath expression translator node extension.
Namespace
Symfony\Component\CssSelector\XPath\ExtensionCode
public function getNodeTranslators() {
return array(
'Selector' => array(
$this,
'translateSelector',
),
'CombinedSelector' => array(
$this,
'translateCombinedSelector',
),
'Negation' => array(
$this,
'translateNegation',
),
'Function' => array(
$this,
'translateFunction',
),
'Pseudo' => array(
$this,
'translatePseudo',
),
'Attribute' => array(
$this,
'translateAttribute',
),
'Class' => array(
$this,
'translateClass',
),
'Hash' => array(
$this,
'translateHash',
),
'Element' => array(
$this,
'translateElement',
),
);
}