Skip to content

Commit 47bc7dc

Browse files
jakzalweaverryan
authored andcommitted
Documented changing of default namespace prefix.
1 parent 827014e commit 47bc7dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/dom_crawler.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ and :method:`Symfony\\Component\\DomCrawler\\Crawler::filter`::
132132

133133
.. note::
134134

135-
The default namespace is registered with a name "default".
135+
The default namespace is registered with a prefix "default". It can be
136+
changed with the
137+
:method:`Symfony\\Component\\DomCrawler\\Crawler::setDefaultNamespacePrefix`.
136138

137139
.. caution::
138140

0 commit comments

Comments
 (0)