Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c46fce

Browse files
committed
Respect 80 chars line length
1 parent6b2248e commit0c46fce

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

‎components/var_dumper/advanced.rst‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ them from re-implementing the logic required to walk through a
183183

184184
The:class:`Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper` limits string
185185
length and nesting depth of the output. These options can be overriden by
186-
providing a third parameter when calling ``dump``::
186+
providing a third parameter when calling
187+
:method:`dump(Data $data) <Symfony\\Component\\VarDumper\\Dumper\\DataDumperInterface::dump>`
188+
::
187189

188190
use Symfony\Component\VarDumper\Dumper\HtmlDumper;
189191

@@ -197,11 +199,12 @@ providing a third parameter when calling ``dump``::
197199

198200
// Limit nesting to 1 level and string length to 160 characters (default)
199201

200-
The output format of a dumper can be fine tuned by the two flags ``DUMP_STRING_LENGTH``
201-
and ``DUMP_LIGHT_ARRAY`` which are passed as a bitmap in the third constructor argument.
202-
They can also be set via environment variables when using ``assertDumpEquals`` of the
203-
:class:`Symfony\\Component\\VarDumper\\Test\\VarDumperTestTrait` during unit testing.
204-
The flags can be configured in ``phpunit.xml.dist``.
202+
The output format of a dumper can be fine tuned by the two flags
203+
``DUMP_STRING_LENGTH`` and ``DUMP_LIGHT_ARRAY`` which are passed as a bitmap
204+
in the third constructor argument. They can also be set via environment
205+
variables when using
206+
:method:`assertDumpEquals($dump, $data, $message) <Symfony\\Component\\VarDumper\\Test\\VarDumperTestTrait::assertDumpEquals>`
207+
during unit testing. The flags can be configured in ``phpunit.xml.dist``.
205208

206209
* If ``DUMP_STRING_LENGTH`` is set, then the length of a string is displayed
207210
next to its content.
@@ -250,7 +253,8 @@ The flags can be configured in ``phpunit.xml.dist``.
250253
// 0 => "test"
251254
// ]
252255

253-
* If you would like to use both options, then you can just combine them by using a the logical OR operator ``|``.
256+
* If you would like to use both options, then you can just
257+
combine them by using a the logical OR operator ``|``.
254258

255259
::
256260

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp