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

Appearance settings

Commit 33cb8fe

Browse filesBrowse files
committed
minor #9208 Fix references to annotation loader tip (maff)
This PR was merged into the 2.7 branch. Discussion ---------- Fix references to annotation loader tip Tips were refactored to an include file in 0ddf3d2 but referenced the wrong filename. a0b19c3 removed the wrong tip from the serializer page. This fixes the tip references on routing/validator and restores the tip on the serializer, but with the right reference. Commits ------- 1f422cf Fix references to annotation loader tip
2 parents f5480e5 + 1f422cf commit 33cb8fe
Copy full SHA for 33cb8fe

File tree

Expand file treeCollapse file tree

3 files changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-2
lines changed

‎components/routing.rst

Copy file name to clipboardExpand all lines: components/routing.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Last but not least there are
312312
route definitions from class annotations. The specific details are left
313313
out here.
314314

315-
.. include:: /_includes/_rewrite_rule_tip.rst.inc
315+
.. include:: /_includes/_annotation_loader_tip.rst.inc
316316

317317
The all-in-one Router
318318
~~~~~~~~~~~~~~~~~~~~~

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ You are now able to serialize only attributes in the groups you want::
310310
);
311311
// $obj2 = MyObj(foo: 'foo', bar: 'bar')
312312

313+
.. include:: /_includes/_annotation_loader_tip.rst.inc
314+
313315
.. _ignoring-attributes-when-serializing:
314316

315317
Ignoring Attributes

‎components/validator/resources.rst

Copy file name to clipboardExpand all lines: components/validator/resources.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ method. It takes an optional annotation reader instance, which defaults to
119119
To disable the annotation loader after it was enabled, call
120120
:method:`Symfony\\Component\\Validator\\ValidatorBuilder::disableAnnotationMapping`.
121121

122-
.. include:: /_includes/_rewrite_rule_tip.rst.inc
122+
.. include:: /_includes/_annotation_loader_tip.rst.inc
123123

124124
Using Multiple Loaders
125125
----------------------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.