Skip to content
Prev Previous commit
Next Next commit
Trimmed some lines to respect the 80-char soft limit
  • Loading branch information
javiereguiluz authored Dec 3, 2016
commit dfb6d6ae2f330dd676b73bb28a9847dda28550dd
8 changes: 5 additions & 3 deletions components/var_dumper/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ using a :class:`Symfony\\Component\\VarDumper\\Cloner\\Data` object as input.
The destination and the formatting of this output vary with dumpers and are
influenced by two environment variables:

* If ``DUMP_STRING_LENGTH`` is set, then the length of a string is displayed next to its content.
* If ``DUMP_STRING_LENGTH`` is set, then the length of a string is displayed
next to its content.
* If ``DUMP_LIGHT_ARRAY`` is set, then arrays are not displayed completely.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't fully understand the purpose of this option. Looking for DUMP_LIGHT_ARRAY in the code didn't help me either. What does exactly this option do? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I described the flags in more detail now and moved the section to the end of the paragraph. :)


This component comes with an :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper`
Expand Down Expand Up @@ -185,8 +186,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` limits string length and nesting depth of the output.
These options can be overriden by providing a third parameter when calling ``dump``::
The :class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` limits string
length and nesting depth of the output. These options can be overriden by
providing a third parameter when calling ``dump``::

use Symfony\Component\VarDumper\Dumper\HtmlDumper;

Expand Down