UnitOfWork
class UnitOfWork implements ObjectContainerInterface (View source)
ID generator using PHP uniqid function
Constants
| KEY_OPERATION |
Managed object pending operation |
| KEY_OBJECT |
Managed object data |
| KEY_IDENTITY |
Object initial identity |
| OPERATION_INSERT |
Store a new object |
| OPERATION_UPDATE |
Update already existing object |
| OPERATION_REMOVE |
|
Methods
__construct()
No description
insert($object)
No description
update($object)
No description
remove($object)
No description
attach(object $object)
Make the given object contained in the interface implementation instance.
detach(object $object)
Forget object
clear($full)
No description
contains(object $object)
Indicates if the interface implementation instance contains the given object
getTasks()
No description
setObjectIdentity($object, $id)
No description
notManagedException($classOrObject)
No description
Details
at line 54
__construct()
at line 63
insert($object)
at line 70
update($object)
at line 77
remove($object)
at line 83
attach(object $object)
Make the given object contained in the interface implementation instance.
at line 93
detach(object $object)
Forget object
at line 103
clear($full)
at line 116
contains(object $object)
Indicates if the interface implementation instance contains the given object