Skip to content

Commit df29290

Browse files
[Attributes] Add attributes overview for 6.3
1 parent 292f5cf commit df29290

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

reference/attributes.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,14 @@ Contracts
2727
Dependency Injection
2828
~~~~~~~~~~~~~~~~~~~~
2929

30+
* :class:`Symfony\\Component\\DependencyInjection\\Attribute\\AsAlias`
31+
* :doc:`AsDecorator </service_container/service_decoration>`
3032
* :ref:`AsTaggedItem <tags_as-tagged-item>`
3133
* :ref:`Autoconfigure <lazy-services_configuration>`
3234
* :ref:`AutoconfigureTag <di-instanceof>`
35+
* :ref:`Autowire <autowire-attribute>`
36+
* :ref:`Exclude <service-psr4-loader>`
37+
* :doc:`MapDecorated </service_container/service_decoration>`
3338
* :ref:`TaggedIterator <tags_reference-tagged-services>`
3439
* :ref:`TaggedLocator <service-subscribers-locators_defining-service-locator>`
3540
* :ref:`Target <autowiring-multiple-implementations-same-type>`
@@ -40,10 +45,19 @@ EventDispatcher
4045

4146
* :ref:`AsEventListener <event-dispatcher_event-listener-attributes>`
4247

48+
FrameworkBundle
49+
~~~~~~~~~~~~~~~
50+
51+
* :ref:`AsRoutingConditionService <routing-matching-expressions>`
52+
4353
HttpKernel
4454
~~~~~~~~~~
4555

4656
* :doc:`AsController </controller/service>`
57+
* :ref:`Cache <http-cache-expiration-intro>`
58+
* :class:`Symfony\\Component\\HttpKernel\\Attribute\\MapDateTime`
59+
* :ref:`WithHttpStatus <framework_exceptions>`
60+
* :ref:`WithLogLevel <framework_exceptions>`
4761

4862
Messenger
4963
~~~~~~~~~
@@ -59,6 +73,7 @@ Security
5973
~~~~~~~~
6074

6175
* :ref:`CurrentUser <security-json-login>`
76+
* :ref:`IsGranted <security-securing-controller-annotations>`
6277

6378
Serializer
6479
~~~~~~~~~~
@@ -69,9 +84,17 @@ Serializer
6984
* :ref:`Ignore <serializer_ignoring-attributes>`
7085
* :ref:`MaxDepth <serializer_handling-serialization-depth>`
7186
* :ref:`SerializedName <serializer_name-conversion>`
87+
* :ref:`SerializedPath <serializer-enabling-metadata-cache>`
88+
89+
Twig
90+
~~~~
91+
92+
* :ref:`Template <templates-template-attribute>`
7293

7394
Validator
7495
~~~~~~~~~
7596

7697
Each validation constraint comes with a PHP attribute. See
7798
:doc:`/reference/constraints` for a full list of validation constraints.
99+
100+
* :doc:`HasNamedArgument </validation/custom_constraint>`

reference/configuration/framework.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3561,6 +3561,8 @@ Defines the kind of workflow that is going to be created, which can be either
35613561
a normal workflow or a state machine. Read :doc:`this article </workflow/workflow-and-state-machine>`
35623562
to know their differences.
35633563

3564+
.. _framework_exceptions:
3565+
35643566
exceptions
35653567
~~~~~~~~~~
35663568

0 commit comments

Comments
 (0)