Commit d4e78c4
Update event_listeners_subscribers.rst
By using $args->getEntity() you can have access to the generated id (primary key) of the object
$args->getObject() returns the object before executing flush() method1 parent 0df2f8a commit d4e78c4
1 file changed
+1
-1
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 | | |
| |||
0 commit comments