Commit 019e0ac
committed
minor #14613 [Doctrine] Add precision for doctrine lifecycle callbacks (DuboisS)
This PR was merged into the 4.4 branch.
Discussion
----------
[Doctrine] Add precision for doctrine lifecycle callbacks
I think it's a good idea to specify that the methods must be public.
- If the developer inadvertently makes the callable private, they will just realize that the method is not executed. No exceptions thrown.
- By rereading the doc, it would be simpler for the word "public" to catch their attention.
Commits
-------
6b4bee4 Update events.rst1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments