File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Doctrine Events
33
44`Doctrine `_, the set of PHP libraries used by Symfony to work with databases,
55provides a lightweight event system to update entities during the application
6- execution. These events, called `lifecycle events `_, allow to perform tasks such
6+ execution. These events, called `lifecycle events `_, allow performing tasks such
77as *"update the createdAt property automatically right before persisting entities
88of this type" *.
99
@@ -24,7 +24,7 @@ There are different ways to listen to these Doctrine events:
2424 methods are called for all entities, not only those of a certain type. They are
2525 ideal to **share event logic between entities **.
2626
27- The performance of each type of listener depends on how many entities applies to:
27+ The performance of each type of listener depends on how many entities it applies to:
2828lifecycle callbacks are faster than entity listeners, which in turn are faster
2929than lifecycle listeners.
3030
You can’t perform that action at this time.
0 commit comments