File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ You can change the behavior of this function by calling
12
12
Calls to ``dump() `` will then be forwarded to ``$callable ``.
13
13
14
14
By adding a handler, you can customize the `Cloners `_, `Dumpers `_ and `Casters `_
15
- explained below. A simple implementation of a handler function might look
15
+ as explained below. A simple implementation of a handler function might look
16
16
like this::
17
17
18
18
use Symfony\Component\VarDumper\VarDumper;
@@ -41,7 +41,7 @@ object this way::
41
41
42
42
$cloner = new VarCloner();
43
43
$data = $cloner->cloneVar($myVar);
44
- // this is commonly then passed to the dumpe
44
+ // this is commonly then passed to the dumper
45
45
// see the example at the top of this page
46
46
// $dumper->dump($data);
47
47
Original file line number Diff line number Diff line change @@ -191,9 +191,9 @@ then its dump representation::
191
191
.. code-block :: php
192
192
193
193
$var = new \ErrorException(
194
- "For some objects, properties have special values
195
- that are best represented as constants, like
196
- `severity` below. Hovering displays the value (`2`).",
194
+ "For some objects, properties have special values\n"
195
+ ." that are best represented as constants, like\n"
196
+ ." `severity` below. Hovering displays the value (`2`).\n ",
197
197
0,
198
198
E_WARNING
199
199
);
@@ -227,11 +227,11 @@ then its dump representation::
227
227
.. code-block :: php
228
228
229
229
$var = new AcmeController(
230
- "When a dump goes over its maximum items limit,
231
- or when some special objects are encountered,
232
- children can be replaced by an ellipsis and
233
- optionnally followed by a number that says how
234
- many have been removed; `9` in this case."
230
+ "When a dump goes over its maximum items limit,\n"
231
+ ." or when some special objects are encountered,\n"
232
+ ." children can be replaced by an ellipsis and\n"
233
+ ." optionnally followed by a number that says how\n"
234
+ ." many have been removed; `9` in this case.\n "
235
235
);
236
236
dump($var);
237
237
You can’t perform that action at this time.
0 commit comments