Skip to content

Commit f521534

Browse files
Updated link to Event Listeners page
Not sure if I got it right (preview isn't showing it) - the page I wanted to link to is https://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html
1 parent 9cb5757 commit f521534

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doctrine/event_listeners_subscribers.rst

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

158158
In Doctrine 2.4, a feature called Entity Listeners was introduced.
159-
It is a lifecycle listener class used for an entity. You can read
160-
about it in `the Doctrine Documentation`_.
159+
It is a lifecycle listener class used for an entity. See
160+
:doc:`Entity Listeners </entity-listeners>
161+
161162

162163
Creating the Subscriber Class
163164
-----------------------------
@@ -269,4 +270,3 @@ to the tag like so:
269270
definitions which are described :doc:`in their own article </service_container/lazy_services>`
270271

271272
.. _`The Event System`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html
272-
.. _`the Doctrine Documentation`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#entity-listeners

0 commit comments

Comments
 (0)