Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3bea05d

Browse files
committed
documented Crawler::html()
1 parent80a0264 commit3bea05d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎components/dom_crawler.rst‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@ and :phpclass:`DOMNode` objects:
200200
$html .= $domElement->ownerDocument->saveHTML($domElement);
201201
}
202202

203+
Or you can get the HTML of the first node using
204+
:method:`Symfony\\Component\\DomCrawler\\Crawler::html`::
205+
206+
$html = $crawler->html();
207+
203208
Form and Link support
204209
~~~~~~~~~~~~~~~~~~~~~
205210

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp