ORM
class ORM extends BaseORM
Class ORM
Methods
Get the root object class, handles inheritance
Get the object change set from a UnitOfWork
Get the single identifier field name
Recompute the single object changeset from a UnitOfWork
Get the scheduled object updates from a UnitOfWork
Get the scheduled object insertions from a UnitOfWork
Get the scheduled object deletions from a UnitOfWork
Sets a property value of the original data array of an object
Clears the property change set of the object with the given OID.
Replace part of breadcrumb to all objects matching $target pattern
Details
in BaseORM at line 38
setEventArgs(EventArgs $args)
Set the eventargs
in BaseORM at line 48
string
getDomainObjectName()
Get the name of domain object
in BaseORM at line 59
string
getManagerName()
Get the name of used manager for this event adapter
in BaseORM at line 71
string
getRootObjectClass(ClassMetadata $meta)
Get the root object class, handles inheritance
in BaseORM at line 84
mixed
__call(string $method, array $args)
Call specific method on event args
in BaseORM at line 99
setEntityManager(EntityManager $em)
Set the entity manager
in BaseORM at line 107
EntityManager
getObjectManager()
in BaseORM at line 124
int
getObjectState(UnitOfWork $uow, object $object)
Get object state
in BaseORM at line 132
array
getObjectChangeSet(UnitOfWork $uow, object $object)
Get the object change set from a UnitOfWork
in BaseORM at line 144
string
getSingleIdentifierFieldName(ClassMetadata $meta)
Get the single identifier field name
in BaseORM at line 158
void
recomputeSingleObjectChangeSet(UnitOfWork $uow, ClassMetadata $meta, object $object)
Recompute the single object changeset from a UnitOfWork
in BaseORM at line 170
array
getScheduledObjectUpdates(UnitOfWork $uow)
Get the scheduled object updates from a UnitOfWork
in BaseORM at line 182
array
getScheduledObjectInsertions(UnitOfWork $uow)
Get the scheduled object insertions from a UnitOfWork
in BaseORM at line 194
array
getScheduledObjectDeletions(UnitOfWork $uow)
Get the scheduled object deletions from a UnitOfWork
in BaseORM at line 209
void
setOriginalObjectProperty(UnitOfWork $uow, string $oid, string $property, mixed $value)
Sets a property value of the original data array of an object
in BaseORM at line 220
clearObjectChangeSet(UnitOfWork $uow, string $oid)
Clears the property change set of the object with the given OID.
at line 22
bool
replaceRelative(array $config, array $replacements)
Replace part of breadcrumb to all objects matching $target pattern