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

Commitcb66d83

Browse files
[VarDumper] Doc for the Data::seek() method
1 parenta7f704c commitcb66d83

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎components/var_dumper/advanced.rst‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,16 @@ Before dumping it, you can further limit the resulting
6666
:class:`Symfony\\Component\\VarDumper\\Cloner\\Data` object using the following methods:
6767

6868
:method:`Symfony\\Component\\VarDumper\\Cloner\\Data::withMaxDepth`
69-
Allows limiting dumps in the depth dimension.
69+
Limits dumps in the depth dimension.
7070

7171
:method:`Symfony\\Component\\VarDumper\\Cloner\\Data::withMaxItemsPerDepth`
7272
Limits the number of items per depth level.
7373

7474
:method:`Symfony\\Component\\VarDumper\\Cloner\\Data::withRefHandles`
75-
Allows removing internal objects' handles for sparser output (useful for tests).
75+
Removes internal objects' handles for sparser output (useful for tests).
76+
77+
:method:`Symfony\\Component\\VarDumper\\Cloner\\Data::seek`
78+
Selects only subparts of already cloned arrays, objects or resources.
7679

7780
Unlike the previous limits on cloners that remove data on purpose, these can
7881
be changed back and forth before dumping since they do not affect the
@@ -82,7 +85,11 @@ intermediate representation internally.
8285

8386
When no limit is applied, a:class:`Symfony\\Component\\VarDumper\\Cloner\\Data`
8487
object is as accurate as the native:phpfunction:`serialize` function,
85-
and thus could be for purposes beyond dumping for debugging.
88+
and thus could be used for purposes beyond debugging.
89+
90+
..versionadded::3.2
91+
The:method:`Symfony\\Component\\VarDumper\\Cloner\\Data::seek` method has been
92+
added in Symfony 3.2
8693

8794
Dumpers
8895
-------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp