public function FunctionExtension::getFunctionTranslators in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/XPath/Extension/FunctionExtension.php \Symfony\Component\CssSelector\XPath\Extension\FunctionExtension::getFunctionTranslators()
Returns function translators.
Return value
callable[]
Overrides AbstractExtension::getFunctionTranslators
File
- vendor/
symfony/ css-selector/ XPath/ Extension/ FunctionExtension.php, line 34
Class
- FunctionExtension
- XPath expression translator function extension.
Namespace
Symfony\Component\CssSelector\XPath\ExtensionCode
public function getFunctionTranslators() {
return array(
'nth-child' => array(
$this,
'translateNthChild',
),
'nth-last-child' => array(
$this,
'translateNthLastChild',
),
'nth-of-type' => array(
$this,
'translateNthOfType',
),
'nth-last-of-type' => array(
$this,
'translateNthLastOfType',
),
'contains' => array(
$this,
'translateContains',
),
'lang' => array(
$this,
'translateLang',
),
);
}