8000 Minor fixes in the Doctrine listeners article · symfony/symfony-docs@c9e6a7d · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c9e6a7d

Browse files
committed
Minor fixes in the Doctrine listeners article
1 parent a0d0c83 commit c9e6a7d

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