Skip to content

Commit a82d95f

Browse files
Minor rewords
1 parent dd715fc commit a82d95f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

components/var_dumper.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,12 @@ current PHP SAPI:
8484

8585
.. tip::
8686

87-
The VarDumper component also has a ``dd()`` helper method. This dump and die
88-
functionality will call ``dump()`` and ``exit()``.
87+
The VarDumper component also includes a ``dd()`` helper method. This "dump
88+
and die" feature calls ``dump()`` and stops the application immediately
89+
after with ``exit()``.
8990

90-
.. versionadded:: 4.1
91-
The ``dd()`` helper method was introduced in Symfony 4.1.
91+
.. versionadded:: 4.1
92+
The ``dd()`` helper method was introduced in Symfony 4.1.
9293

9394
DebugBundle and Twig Integration
9495
--------------------------------
@@ -102,8 +103,8 @@ corrupting your view, the bundle configures the ``dump()`` function so that
102103
variables are dumped in the web debug toolbar.
103104

104105
But if the toolbar cannot be displayed because you e.g. called
105-
``die``/``exit``/``dd`` or a fatal error occurred, then dumps are written on
106-
the regular output.
106+
``die()``/``exit()``/``dd()`` or a fatal error occurred, then dumps are written
107+
on the regular output.
107108

108109
In a Twig template, two constructs are available for dumping a variable.
109110
Choosing between both is mostly a matter of personal taste, still:

0 commit comments

Comments
 (0)