Fixed typo + added link
This commit is contained in:
parent
47cb963731
commit
277833b487
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user