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

Commit28eefe2

Browse files
committed
[#4299] Very minor language tweak
1 parentbd85865 commit28eefe2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎components/serializer.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Circular references are common when dealing with entity relations::
301301

302302
To avoid infinite loops,:class:`Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer`
303303
throws a:class:`Symfony\\Component\\Serializer\\Exception\\CircularReferenceException`
304-
when such case is encountered::
304+
when suchacase is encountered::
305305

306306
$member = new Member();
307307
$member->setName('Kévin');
@@ -315,8 +315,8 @@ when such case is encountered::
315315
echo $serializer->serialize($org, 'json'); // Throws a CircularReferenceException
316316

317317
The ``setCircularReferenceLimit()`` method of this normalizer sets the number
318-
of timesserializingthe same objectmust occurbefore consideringbeing
319-
in a circularreference. Its default value is ``1``.
318+
of timesit will serializethe same object before consideringit a circular
319+
reference. Its default value is ``1``.
320320

321321
Instead of throwing an exception, circular references can also be handled
322322
by custom callables. This is especially useful when serializing entities

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp