@@ -129,7 +129,7 @@ entity), you should check for the entity's class type in your method
129
129
130
130
In Doctrine 2.4, a feature called Entity Listeners was introduced.
131
131
It is a lifecycle listener class used for an entity. You can read
132
- about it in `the Doctrine Documentation `_.
132
+ about it in `the DoctrineBundle documentation `_.
133
133
134
134
Creating the Subscriber Class
135
135
-----------------------------
@@ -241,9 +241,6 @@ to the tag like so:
241
241
Marking an event listener as ``lazy `` has nothing to do with lazy service
242
242
definitions which are described :doc: `in their own article </service_container/lazy_services >`
243
243
244
- .. _`The Event System` : http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html
245
- .. _`the Doctrine Documentation` : https://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html
246
-
247
244
Priorities for Event Listeners
248
245
------------------------------
249
246
@@ -297,3 +294,6 @@ numbers mean that listeners are invoked earlier.
297
294
->register('my.listener.with_low_priority', MyLowPriorityListener::class)
298
295
->addTag('doctrine.event_listener', ['event' => 'postPersist', 'priority' => 1])
299
296
;
297
+
298
+ .. _`The Event System` : http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html
299
+ .. _`the DoctrineBundle documentation` : https://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html
0 commit comments