Commit 41f099b
committed
minor symfony#8688 Update event_listeners_subscribers.rst (hamzahanafi11)
This PR was submitted for the 3.3 branch but it was merged into the 2.7 branch instead (closes symfony#8688).
Discussion
----------
Update event_listeners_subscribers.rst
By using $args->getEntity() you can have access to the generated id (primary key) of the object
Commits
-------
8363273 Update event_listeners_subscribers.rst
d4e78c4 Update event_listeners_subscribers.rst1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
0 commit comments