Skip to content

Commit 65649aa

Browse files
author
Slava Fomin
committed
Update event_listeners_subscribers.rst
1 parent b53e178 commit 65649aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/doctrine/event_listeners_subscribers.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ entity), you should check for the entity's class type in your method
156156

157157
.. tip::
158158

159-
Starting from version 2.4 Doctrine has a feature called `Entity Listeners`_
160-
which is a lifecycle listener class used for an entity. You can read about
161-
it in the Doctrine documentation.
159+
In Doctrine 2.4, a feature called Entity Listeners was introduced.
160+
It is a lifecycle listener class used for an entity. You can read
161+
about it in `the Doctrine Documentation`_.
162162

163163
Creating the Subscriber Class
164164
-----------------------------
@@ -217,4 +217,4 @@ interface and have an event method for each event it subscribes to::
217217
For a full reference, see chapter `The Event System`_ in the Doctrine documentation.
218218

219219
.. _`The Event System`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html
220-
.. _`Entity Listeners`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#entity-listeners
220+
.. _`the Doctrine Documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#entity-listeners

0 commit comments

Comments
 (0)