Skip to content

Commit 018c53a

Browse files
committed
minor #10746 [VarDumper] Add documentation for light theme (PReimers)
This PR was merged into the 4.2 branch. Discussion ---------- [VarDumper] Add documentation for light theme Fixes #10576 #SymfonyConHackDay2018 Commits ------- 041ae61 [VarDumper] Add documentation for light theme
2 parents 0eb8c0f + 041ae61 commit 018c53a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/var_dumper/advanced.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ method. They also typically implement the
179179
them from re-implementing the logic required to walk through a
180180
:class:`Symfony\\Component\\VarDumper\\Cloner\\Data` object's internal structure.
181181

182+
The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` is by default using a dark theme.
183+
To use a light theme use the method :method:`$htmlDumper->setTheme('light') <Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper::setTheme>`.
184+
182185
The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` limits string
183186
length and nesting depth of the output to make it more readable. These options
184187
can be overriden by the third optional parameter of the

0 commit comments

Comments
 (0)