Skip to content

Commit 74daa0e

Browse files
[Messenger] Removing note docblock for MessageHandlerInterface
The docblock note is no longer required from Symfony 6.0 onwards as it requires PHP 8.0.
1 parent c49360d commit 74daa0e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

messenger.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,6 @@ message class (or a message interface)::
7070
}
7171
}
7272

73-
.. note::
74-
75-
You can also create a class without the attribute (e.g. if you're
76-
using PHP 7.4), by implementing :class:`Symfony\\Component\\Messenger\\Handler\\MessageHandlerInterface`
77-
instead.
78-
7973
Thanks to :ref:`autoconfiguration <services-autoconfigure>` and the ``SmsNotification``
8074
type-hint, Symfony knows that this handler should be called when an ``SmsNotification``
8175
message is dispatched. Most of the time, this is all you need to do. But you can

0 commit comments

Comments
 (0)