Skip to content

Commit 5a02dc1

Browse files
committed
minor #17332 [Messenger] Removing note docblock for MessageHandlerInterface (mdoutreluingne)
This PR was merged into the 6.0 branch. Discussion ---------- [Messenger] Removing note docblock for `MessageHandlerInterface` The docblock note is no longer necessary required from Symfony 6.0 onwards as it requires PHP 8.0. What do you think? Commits ------- 74daa0e [Messenger] Removing note docblock for MessageHandlerInterface
2 parents b4dddfd + 74daa0e commit 5a02dc1

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)