function FunctionExtension::getFunctionTranslators
Overrides AbstractExtension::getFunctionTranslators
File
-
vendor/
symfony/ css-selector/ XPath/ Extension/ FunctionExtension.php, line 33
Class
- FunctionExtension
- XPath expression translator function extension.
Namespace
Symfony\Component\CssSelector\XPath\ExtensionCode
public function getFunctionTranslators() : array {
return [
'nth-child' => $this->translateNthChild(...),
'nth-last-child' => $this->translateNthLastChild(...),
'nth-of-type' => $this->translateNthOfType(...),
'nth-last-of-type' => $this->translateNthLastOfType(...),
'contains' => $this->translateContains(...),
'lang' => $this->translateLang(...),
];
}