You are here

public function TranslatorInterface::selectorToXPath 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::selectorToXPath()

Translates a parsed selector node to an XPath expression.

Parameters

SelectorNode $selector:

string $prefix:

Return value

string

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

File

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

Class

TranslatorInterface
XPath expression translator interface.

Namespace

Symfony\Component\CssSelector\XPath

Code

public function selectorToXPath(SelectorNode $selector, $prefix = 'descendant-or-self::');