8000 minor #10891 Minor fixes in the Doctrine listeners article (javieregu… · symfony/symfony-docs@eba0fe5 · GitHub
[go: up one dir, main page]

Skip to content

Commit eba0fe5

Browse files
committed
minor #10891 Minor fixes in the Doctrine listeners article (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Minor fixes in the Doctrine listeners article Commits ------- c9e6a7d Minor fixes in the Doctrine listeners article
2 parents 903f86d + c9e6a7d commit eba0fe5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doctrine/event_listeners_subscribers.rst

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

130130
In Doctrine 2.4, a feature called Entity Listeners was introduced.
131131
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`_.
133133

134134
Creating the Subscriber Class
135135
-----------------------------
@@ -241,9 +241,6 @@ to the tag like so:
241241
  Marking an event listener as ``lazy`` has nothing to do with lazy service
242242
definitions which are described :doc:`in their own article </service_container/lazy_services>`
243243

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-
247244
Priorities for Event Listeners
248245
------------------------------
249246

@@ -297,3 +294,6 @@ numbers mean that listeners are invoked earlier.
297294
->register('my.listener.with_low_priority', MyLowPriorityListener::class)
298295
->addTag('doctrine.event_listener', ['event' => 'postPersist', 'priority' => 1])
299296
;
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

Comments
 (0)
0