You are here

public function TranslatorInterface::cssToXPath in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/XPath/TranslatorInterface.php \Symfony\Component\CssSelector\XPath\TranslatorInterface::cssToXPath()

Translates a CSS selector to an XPath expression.

Parameters

string $cssExpr:

string $prefix:

Return value

string

1 method overrides TranslatorInterface::cssToXPath()
Translator::cssToXPath in vendor/symfony/css-selector/XPath/Translator.php
Translates a CSS selector to an XPath expression.

File

vendor/symfony/css-selector/XPath/TranslatorInterface.php, line 34

Class

TranslatorInterface
XPath expression translator interface.

Namespace

Symfony\Component\CssSelector\XPath

Code

public function cssToXPath($cssExpr, $prefix = 'descendant-or-self::');