8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9392f80 commit df4fc7eCopy full SHA for df4fc7e
components/css_selector.rst
@@ -47,13 +47,13 @@ The CssSelector Component
47
~~~~~~~~~~~~~~~~~~~~~~~~~
48
49
The component's only goal is to convert CSS selectors to their XPath
50
-equivalents, using :method:`Converter::toXPath() <Symfony\\Component\\CssSelector\\Converter::toXPath>`
+equivalents, using :method:`Symfony\\Component\\CssSelector\\CssSelectorConverter::toXPath`
51
52
.. code-block:: php
53
54
- use Symfony\Component\CssSelector\Converter;
+ use Symfony\Component\CssSelector\CssSelectorConverter;
55
56
- $converter = new Converter();
+ $converter = new CssSelectorConverter();
57
var_dump($converter->toXPath('div.item > h4 > a'));
58
59
This gives the following output:
0 commit comments