8000 [#7217] add versionadded directives · symfony/symfony-docs@026f451 · GitHub
[go: up one dir, main page]

Skip to content

Commit 026f451

Browse files
committed
[#7217] add versionadded directives
1 parent b491b0f commit 026f451

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/var_dumper/advanced.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
201205
The 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
203207
in the third constructor argument. They can also be set via environment
204208
variables when using
205209
:method:`assertDumpEquals($dump, $data, $message) <Symfony\\Component\\VarDumper\\Test\\VarDumperTestTrait::assertDumpEquals>`
206210
during 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+
208216
If ``DUMP_STRING_LENGTH`` is set, then the length of a string is displayed
209217
next to its content:
210218

0 commit comments

Comments
 (0)
0