diff --git a/doctrine/event_listeners_subscribers.rst b/doctrine/event_listeners_subscribers.rst index 605af48a87b..3b4f44bc413 100644 --- a/doctrine/event_listeners_subscribers.rst +++ b/doctrine/event_listeners_subscribers.rst @@ -129,7 +129,7 @@ entity), you should check for the entity's class type in your method In Doctrine 2.4, a feature called Entity Listeners was introduced. It is a lifecycle listener class used for an entity. You can read - about it in `the Doctrine Documentation`_. + about it in `the DoctrineBundle documentation`_. Creating the Subscriber Class ----------------------------- @@ -241,9 +241,6 @@ to the tag like so:   Marking an event listener as ``lazy`` has nothing to do with lazy service definitions which are described :doc:`in their own article ` -.. _`The Event System`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html -.. _`the Doctrine Documentation`: https://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html - Priorities for Event Listeners ------------------------------ @@ -297,3 +294,6 @@ numbers mean that listeners are invoked earlier. ->register('my.listener.with_low_priority', MyLowPriorityListener::class) ->addTag('doctrine.event_listener', ['event' => 'postPersist', 'priority' => 1]) ; + +.. _`The Event System`: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html +.. _`the DoctrineBundle documentation`: https://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html