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

Commit71574d8

Browse files
committed
minor#9169 Fixed a minor syntax issue in a VarDumper article (javiereguiluz)
This PR was merged into the 3.3 branch.Discussion----------Fixed a minor syntax issue in a VarDumper articleAn extra white space makes this list look like a blockquote:![wrong-list](https://user-images.githubusercontent.com/73419/35519594-f8b2b136-0514-11e8-9499-dced8267f2c0.png)3.3 version is the first one which contains this error.Commits-------3532421 Fixed a minor syntax issue in a VarDumper article
2 parents5152b0e +3532421 commit71574d8

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

‎components/var_dumper/advanced.rst

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -375,23 +375,23 @@ thus to dumpers. To help you do this (see the source code for how it works),
375375
the component comes with a set of wrappers for common additional semantics. You
376376
can use:
377377

378-
*:class:`Symfony\\Component\\VarDumper\\Caster\\ConstStub` to wrap a value that is
379-
best represented by a PHP constant;
380-
*:class:`Symfony\\Component\\VarDumper\\Caster\\ClassStub` to wrap a PHP identifier
381-
(*i.e.* a class name, a method name, an interface, *etc.*);
382-
*:class:`Symfony\\Component\\VarDumper\\Caster\\CutStub` to replace big noisy
383-
objects/strings/*etc.* by ellipses;
384-
*:class:`Symfony\\Component\\VarDumper\\Caster\\CutArrayStub` to keep only some
385-
useful keys of an array;
386-
*:class:`Symfony\\Component\\VarDumper\\Caster\\EnumStub` to wrap a set of virtual
387-
values (*i.e.* values that do not exist as properties in the original PHP data
388-
structure, but are worth listing alongside with real ones);
389-
*:class:`Symfony\\Component\\VarDumper\\Caster\\LinkStub` to wrap strings that can
390-
be turned into links by dumpers;
391-
*:class:`Symfony\\Component\\VarDumper\\Caster\\TraceStub` and their
392-
*:class:`Symfony\\Component\\VarDumper\\Caster\\FrameStub` and
393-
*:class:`Symfony\\Component\\VarDumper\\Caster\\ArgsStub` relatives to wrap PHP
394-
traces (used by:class:`Symfony\\Component\\VarDumper\\Caster\\ExceptionCaster`).
378+
*:class:`Symfony\\Component\\VarDumper\\Caster\\ConstStub` to wrap a value that is
379+
best represented by a PHP constant;
380+
*:class:`Symfony\\Component\\VarDumper\\Caster\\ClassStub` to wrap a PHP identifier
381+
(*i.e.* a class name, a method name, an interface, *etc.*);
382+
*:class:`Symfony\\Component\\VarDumper\\Caster\\CutStub` to replace big noisy
383+
objects/strings/*etc.* by ellipses;
384+
*:class:`Symfony\\Component\\VarDumper\\Caster\\CutArrayStub` to keep only some
385+
useful keys of an array;
386+
*:class:`Symfony\\Component\\VarDumper\\Caster\\EnumStub` to wrap a set of virtual
387+
values (*i.e.* values that do not exist as properties in the original PHP data
388+
structure, but are worth listing alongside with real ones);
389+
*:class:`Symfony\\Component\\VarDumper\\Caster\\LinkStub` to wrap strings that can
390+
be turned into links by dumpers;
391+
*:class:`Symfony\\Component\\VarDumper\\Caster\\TraceStub` and their
392+
*:class:`Symfony\\Component\\VarDumper\\Caster\\FrameStub` and
393+
*:class:`Symfony\\Component\\VarDumper\\Caster\\ArgsStub` relatives to wrap PHP
394+
traces (used by:class:`Symfony\\Component\\VarDumper\\Caster\\ExceptionCaster`).
395395

396396
For example, if you know that your ``Product`` objects have a ``brochure`` property
397397
that holds a file name or a URL, you can wrap them in a ``LinkStub`` to tell

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp