1
0
mirror of synced 2025-03-06 21:06:16 +03:00

Merge pull request #6080 from ThomasLandauer/patch-1

Fixed typo + added link
This commit is contained in:
Marco Pivetta 2016-10-11 17:02:07 +02:00 committed by GitHub
commit a353cb81a3

View File

@ -406,8 +406,8 @@ behaviors across different entity classes.
Note that they require much more detailed knowledge about the inner Note that they require much more detailed knowledge about the inner
workings of the EntityManager and UnitOfWork. Please read the workings of the EntityManager and UnitOfWork. Please read the
*Implementing Event Listeners* section carefully if you are trying :ref:`reference-events-implementing-listeners` section carefully if you
to write your own listener. are trying to write your own listener.
For event subscribers, there are no surprises. They declare the For event subscribers, there are no surprises. They declare the
lifecycle events in their ``getSubscribedEvents`` method and provide 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 .. code-block:: php