We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aea0435 + a4360d4 commit 6bfe085Copy full SHA for 6bfe085
doctrine/events.rst
@@ -26,8 +26,8 @@ There are different ways to listen to these Doctrine events:
26
These are the **drawbacks and advantages** of each one:
27
28
* Callbacks have better performance because they only apply to a single entity
29
- class, but you can't reuse the logic for different entities and they can't
30
- access to :doc:`Symfony services </service_container>`;
+ class, but you can't reuse the logic for different entities and they don't
+ have access to :doc:`Symfony services </service_container>`;
31
* Lifecycle listeners and subscribers can reuse logic among different entities
32
and can access Symfony services but their performance is worse because they
33
are called for all entities;
0 commit comments