public function Translator::getExtension in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/XPath/Translator.php \Symfony\Component\CssSelector\XPath\Translator::getExtension()
Parameters
string $name:
Return value
Extension\ExtensionInterface
Throws
File
- vendor/
symfony/ css-selector/ XPath/ Translator.php, line 172
Class
- Translator
- XPath expression translator interface.
Namespace
Symfony\Component\CssSelector\XPathCode
public function getExtension($name) {
if (!isset($this->extensions[$name])) {
throw new ExpressionErrorException(sprintf('Extension "%s" not registered.', $name));
}
return $this->extensions[$name];
}