From 978a84aa63a28b228de42bde3251a8338f0bf523 Mon Sep 17 00:00:00 2001 From: kolossa Date: Wed, 30 Oct 2024 20:49:04 +0100 Subject: [PATCH] Add a 'Learn More' section to event dispatcher to easily find related content --- event_dispatcher.rst | 18 ++++++++++++++++++ security.rst | 6 ++++++ 2 files changed, 24 insertions(+) diff --git a/event_dispatcher.rst b/event_dispatcher.rst index ab3428f6cb0..b0280d64e72 100644 --- a/event_dispatcher.rst +++ b/event_dispatcher.rst @@ -814,3 +814,21 @@ could listen to the ``mailer.post_send`` event and change the method's return va That's it! Your subscriber should be called automatically (or read more about :ref:`event subscriber configuration `). + + +Learn More +---------- + +Security +~~~~~~~~ + +- :ref:`Security Events ` +- :ref:`Authentication Events ` +- :ref:`Other Events ` + +Other +~~~~~ + +- :doc:`/reference/events` +- :doc:`/components/event_dispatcher` +- :ref:`The Request-Response Lifecycle ` diff --git a/security.rst b/security.rst index 84e4ebb7d75..12ca6ae727a 100644 --- a/security.rst +++ b/security.rst @@ -2590,6 +2590,8 @@ implement :class:`Symfony\\Component\\Security\\Core\\User\\EquatableInterface`. Then, your ``isEqualTo()`` method will be called when comparing users instead of the core logic. +.. _security-security-events: + Security Events --------------- @@ -2657,6 +2659,8 @@ for these events. ]); }; +.. _security-authentication-events: + Authentication Events ~~~~~~~~~~~~~~~~~~~~~ @@ -2691,6 +2695,8 @@ Authentication Events authentication. Listeners to this event can modify the error response sent back to the user. +.. _security-other-events: + Other Events ~~~~~~~~~~~~