Skip to content

Commit df4fc7e

Browse files
committed
Updated for CssSelectorConverter class name
1 parent 9392f80 commit df4fc7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/css_selector.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ The CssSelector Component
4747
~~~~~~~~~~~~~~~~~~~~~~~~~
4848

4949
The component's only goal is to convert CSS selectors to their XPath
50-
equivalents, using :method:`Converter::toXPath() <Symfony\\Component\\CssSelector\\Converter::toXPath>`
50+
equivalents, using :method:`Symfony\\Component\\CssSelector\\CssSelectorConverter::toXPath`
5151

5252
.. code-block:: php
5353
54-
use Symfony\Component\CssSelector\Converter;
54+
use Symfony\Component\CssSelector\CssSelectorConverter;
5555
56-
$converter = new Converter();
56+
$converter = new CssSelectorConverter();
5757
var_dump($converter->toXPath('div.item > h4 > a'));
5858
5959
This gives the following output:

0 commit comments

Comments
 (0)