From 041ae61786149835ac4cb2fe36cbba23ef450ccd Mon Sep 17 00:00:00 2001 From: Patrick Reimers Date: Sat, 8 Dec 2018 12:43:42 +0000 Subject: [PATCH] [VarDumper] Add documentation for light theme --- components/var_dumper/advanced.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/var_dumper/advanced.rst b/components/var_dumper/advanced.rst index dc35ee86252..f92969b806e 100644 --- a/components/var_dumper/advanced.rst +++ b/components/var_dumper/advanced.rst @@ -179,6 +179,9 @@ method. They also typically implement the them from re-implementing the logic required to walk through a :class:`Symfony\\Component\\VarDumper\\Cloner\\Data` object's internal structure. +The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` is by default using a dark theme. +To use a light theme use the method :method:`$htmlDumper->setTheme('light') `. + The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` limits string length and nesting depth of the output to make it more readable. These options can be overriden by the third optional parameter of the