File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,6 @@ serialized::
50
50
51
51
.. _messenger-handler :
52
52
53
- .. versionadded :: 5.4
54
-
55
- The ``#[AsMessageHandler] `` PHP attribute was introduced in Symfony
56
- 5.4. PHP attributes require at least PHP 8.0.
57
-
58
53
A message handler is a PHP callable, the recommended way to create it is to
59
54
create a class that has the :class: `Symfony\\ Component\\ Messenger\\ Attribute\\ AsMessageHandler `
60
55
attribute and has an ``__invoke() `` method that's type-hinted with the
@@ -1689,11 +1684,6 @@ Customizing Handlers
1689
1684
Configuring Handlers Using Attributes
1690
1685
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1691
1686
1692
- .. versionadded :: 5.4
1693
-
1694
- The ``#[AsMessageHandler] `` PHP attribute was introduced in Symfony
1695
- 5.4. PHP attributes require at least PHP 8.0.
1696
-
1697
1687
You can configure your handler by passing options to the attribute::
1698
1688
1699
1689
// src/MessageHandler/SmsNotificationHandler.php
You can’t perform that action at this time.
0 commit comments