File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Doctrine Events
3
3
4
4
`Doctrine `_, the set of PHP libraries used by Symfony to work with databases,
5
5
provides 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
7
7
as *"update the createdAt property automatically right before persisting entities
8
8
of this type" *.
9
9
@@ -24,7 +24,7 @@ There are different ways to listen to these Doctrine events:
24
24
methods are called for all entities, not only those of a certain type. They are
25
25
ideal to **share event logic between entities **.
26
26
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:
28
28
lifecycle callbacks are faster than entity listeners, which in turn are faster
29
29
than lifecycle listeners.
30
30
You can’t perform that action at this time.
0 commit comments