diff --git a/docs/en/reference/events.rst b/docs/en/reference/events.rst index 5a18a1806..e6c8b0aa4 100644 --- a/docs/en/reference/events.rst +++ b/docs/en/reference/events.rst @@ -406,8 +406,8 @@ behaviors across different entity classes. Note that they require much more detailed knowledge about the inner workings of the EntityManager and UnitOfWork. Please read the -*Implementing Event Listeners* section carefully if you are trying -to write your own listener. +:ref:`reference-events-implementing-listeners` section carefully if you +are trying to write your own listener. For event subscribers, there are no surprises. They declare the lifecycle events in their ``getSubscribedEvents`` method and provide @@ -434,7 +434,7 @@ A lifecycle event listener looks like the following: } } -A lifecycle event subscriber may looks like this: +A lifecycle event subscriber may look like this: .. code-block:: php