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

Lines changed: 3 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy