Skip to content

[Attributes] Add attributes overview for 6.3 #18015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions reference/attributes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Doctrine Bridge
~~~~~~~~~~~~~~~

* :doc:`UniqueEntity </reference/constraints/UniqueEntity>`
* :ref:`MapEntity <doctrine-entity-value-resolver>`

Command
~~~~~~~
Expand All @@ -27,11 +28,13 @@ Contracts
Dependency Injection
~~~~~~~~~~~~~~~~~~~~

* :class:`Symfony\\Component\\DependencyInjection\\Attribute\\AsAlias`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be great to have an example here in a follow up PR, where we can link to

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes definitely! I plan to write some doc in the next days for missing attributes 👍

* :doc:`AsDecorator </service_container/service_decoration>`
* :ref:`AsTaggedItem <tags_as-tagged-item>`
* :ref:`Autoconfigure <lazy-services_configuration>`
* :ref:`AutoconfigureTag <di-instanceof>`
* :ref:`Autowire <autowire-attribute>`
* :ref:`Exclude <service-psr4-loader>`
* :doc:`MapDecorated </service_container/service_decoration>`
* :ref:`TaggedIterator <tags_reference-tagged-services>`
* :ref:`TaggedLocator <service-subscribers-locators_defining-service-locator>`
Expand All @@ -52,8 +55,12 @@ HttpKernel
~~~~~~~~~~

* :doc:`AsController </controller/service>`
* :class:`Symfony\\Component\\HttpKernel\\Attribute\\AsPinnedValueResolver`
* :ref:`Cache <http-cache-expiration-intro>`
* :class:`Symfony\\Component\\HttpKernel\\Attribute\\MapDateTime`
* :class:`Symfony\\Component\\HttpKernel\\Attribute\\ValueResolver`
* :ref:`WithHttpStatus <framework_exceptions>`
* :ref:`WithLogLevel <framework_exceptions>`

Messenger
~~~~~~~~~
Expand Down
2 changes: 2 additions & 0 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3561,6 +3561,8 @@ Defines the kind of workflow that is going to be created, which can be either
a normal workflow or a state machine. Read :doc:`this article </workflow/workflow-and-state-machine>`
to know their differences.

.. _framework_exceptions:

exceptions
~~~~~~~~~~

Expand Down