1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Fixed typo + added link

This commit is contained in:
Thomas Landauer 2016-10-11 16:59:03 +02:00 committed by GitHub
parent 47cb963731
commit 277833b487

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