Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion en/orm/table-objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ beforeSave
The ``Model.beforeSave`` event is fired before each entity is saved. Stopping
this event will abort the save operation. When the event is stopped the result
of the event will be returned.
How to stop an event is documented :ref:`here <stopping-events>`.

afterSave
---------
Expand All @@ -294,7 +295,9 @@ beforeDelete
.. php:method:: beforeDelete(Event $event, EntityInterface $entity, ArrayObject $options)

The ``Model.beforeDelete`` event is fired before an entity is deleted. By
stopping this event you will abort the delete operation.
stopping this event you will abort the delete operation. When the event is stopped the result
of the event will be returned.
How to stop an event is documented :ref:`here <stopping-events>`.

afterDelete
-----------
Expand Down