File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -192,17 +192,16 @@ instance with just the selected link(s). Calling ``link()`` gives us a special
192
192
The :class: `Symfony\\ Component\\ DomCrawler\\ Link ` object has several useful
193
193
methods to get more information about the selected link itself::
194
194
195
- // return the raw href value
196
- $href = $link->getRawUri();
197
-
198
195
// return the proper URI that can be used to make another request
199
196
$uri = $link->getUri();
200
197
201
- The ``getUri() `` is especially useful as it cleans the ``href `` value and
202
- transforms it into how it should really be processed. For example, for a
203
- link with ``href="#foo" ``, this would return the full URI of the current
204
- page suffixed with ``#foo ``. The return from ``getUri() `` is always a full
205
- URI that you can act on.
198
+ .. note ::
199
+
200
+ The ``getUri() `` is especially useful as it cleans the ``href `` value and
201
+ transforms it into how it should really be processed. For example, for a
202
+ link with ``href="#foo" ``, this would return the full URI of the current
203
+ page suffixed with ``#foo ``. The return from ``getUri() `` is always a full
204
+ URI that you can act on.
206
205
207
206
Forms
208
207
.....
You can’t perform that action at this time.
0 commit comments