8000 Restore some internal references · symfony/symfony-docs@dc0ec9f · GitHub
[go: up one dir, main page]

Skip to content

Commit dc0ec9f

Browse files
committed
Restore some internal references
1 parent b4683ae commit dc0ec9f

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

best_practices.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ controllers shouldn't contain any business logic. Controllers should contain
223223
nothing more than a few lines of *glue-code*, so you are not coupling the
224224
important parts of your application.
225225

226+
.. _best-practice-controller-annotations:
226227
.. _best-practice-controller-attributes:
227228

228229
Use Attributes to Configure Routing, Caching, and Security

components/serializer.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ for each format:
288288

289289
$classMetadataFactory = new ClassMetadataFactory(new XmlFileLoader('/path/to/your/definition.xml'));
290290

291+
.. _component-serializer-attributes-groups-annotations:
291292
.. _component-serializer-attributes-groups-attributes:
292293

293294
Then, create your groups definition:

page_creation.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ random) number and prints it. To do that, create a "Controller" class and a
5555
}
5656
}
5757

58+
.. _annotation-routes:
5859
.. _attribute-routes:
5960

6061
Now you need to associate this controller function with a public URL (e.g. ``/lucky/number``)

security.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,6 +2316,7 @@ will happen:
23162316
be shown the 403 access denied page (which you can
23172317
:ref:`customize <controller-error-pages-by-status-code>`).
23182318

2319+
.. _security-securing-controller-annotations:
23192320
.. _security-securing-controller-attributes:
23202321

23212322
Another way to secure one or more controller actions is to use the ``#[IsGranted()]`` attribute.

0 commit comments

Comments
 (0)
0