Transaction.php
registerDeleted(PersistentObject $object)
Register a deleted object.
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:27
registerDirty(PersistentObject $object)
Register a dirty object.
begin()
Set the transaction active (object changes will be recorded).
Transaction implements the Unit of Work pattern as it defines the interface for maintaining a list of...
Definition: Transaction.php:21
registerLoaded(PersistentObject $object)
Register a loaded object.
getObjects()
Get all objects currently involved in the transaction.
registerNew(PersistentObject $object)
Register a newly created object.
PersistentObject defines the interface of all persistent objects.
Definition: PersistentObject.php:24