File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -198,13 +198,21 @@ method::
198198 'maxStringLength' => 160
199199 ));
200200
201+ .. versionadded :: 3.2
202+ Support for passing display options to the ``dump() `` method was introduced
203+ in Symfony 3.2.
204+
201205The output format of a dumper can be fine tuned by the two flags
202206``DUMP_STRING_LENGTH `` and ``DUMP_LIGHT_ARRAY `` which are passed as a bitmap
203207in the third constructor argument. They can also be set via environment
204208variables when using
205209:method: `assertDumpEquals($dump, $data, $message) <Symfony\\ Component\\ VarDumper\\ Test\\ VarDumperTestTrait::assertDumpEquals> `
206210during unit testing.
207211
212+ .. versionadded :: 3.1
213+ The ``DUMP_STRING_LENGTH `` and ``DUMP_LIGHT_ARRAY `` flags were introduced
214+ in Symfony 3.1.
215+
208216If ``DUMP_STRING_LENGTH `` is set, then the length of a string is displayed
209217next to its content:
210218
You can’t perform that action at this time.
0 commit comments