-
Notifications
You must be signed in to change notification settings - Fork 4
Events
Michael O'Connell edited this page Apr 28, 2016
·
2 revisions
Symfony events are dispatched for every stage of the object lifecycle. ObjectName here is the class without namespace.
- DataObject.beforeSave
- DataObject.{ObjectName}.beforeSave
- DataObject.beforeInsert
- DataObject.{ObjectName}.beforeInsert
- DataObject.beforeUpdate
- DataObject.{ObjectName}.beforeUpdate
- DataObject.afterSave
- DataObject.{ObjectName}.afterSave
- DataObject.afterInsert
- DataObject.{ObjectName}.afterInsert
- DataObject.afterUpdate
- DataObject.{ObjectName}.afterUpdate
- DataObject.loaded
- DataObject.{ObjectName}.loaded
- DataObject.beforeDelete
- DataObject.{ObjectName}.beforeDelete
- DataObject.afterDelete
- DataObject.{ObjectName}.afterDelete