class ORM extends BaseORM

Class ORM

Methods

setEventArgs(EventArgs $args)

Set the eventargs

from BaseORM
string
getDomainObjectName()

Get the name of domain object

from BaseORM
string
getManagerName()

Get the name of used manager for this event adapter

from BaseORM
string
getRootObjectClass(ClassMetadata $meta)

Get the root object class, handles inheritance

from BaseORM
mixed
__call(string $method, array $args)

Call specific method on event args

from BaseORM
setEntityManager(EntityManager $em)

Set the entity manager

from BaseORM
EntityManager
getObjectManager()

No description

from BaseORM
int
getObjectState(UnitOfWork $uow, object $object)

Get object state

from BaseORM
array
getObjectChangeSet(UnitOfWork $uow, object $object)

Get the object change set from a UnitOfWork

from BaseORM
string
getSingleIdentifierFieldName(ClassMetadata $meta)

Get the single identifier field name

from BaseORM
void
recomputeSingleObjectChangeSet(UnitOfWork $uow, ClassMetadata $meta, object $object)

Recompute the single object changeset from a UnitOfWork

from BaseORM
array
getScheduledObjectUpdates(UnitOfWork $uow)

Get the scheduled object updates from a UnitOfWork

from BaseORM
array
getScheduledObjectInsertions(UnitOfWork $uow)

Get the scheduled object insertions from a UnitOfWork

from BaseORM
array
getScheduledObjectDeletions(UnitOfWork $uow)

Get the scheduled object deletions from a UnitOfWork

from BaseORM
void
setOriginalObjectProperty(UnitOfWork $uow, string $oid, string $property, mixed $value)

Sets a property value of the original data array of an object

from BaseORM
clearObjectChangeSet(UnitOfWork $uow, string $oid)

Clears the property change set of the object with the given OID.

from BaseORM
bool
replaceRelative(array $config, array $replacements)

Replace part of breadcrumb to all objects matching $target pattern

Details

in BaseORM at line 38
setEventArgs(EventArgs $args)

Set the eventargs

Parameters

EventArgs $args

in BaseORM at line 48
string getDomainObjectName()

Get the name of domain object

Return Value

string

in BaseORM at line 59
string getManagerName()

Get the name of used manager for this event adapter

Return Value

string

in BaseORM at line 71
string getRootObjectClass(ClassMetadata $meta)

Get the root object class, handles inheritance

Parameters

ClassMetadata $meta

Return Value

string

in BaseORM at line 84
mixed __call(string $method, array $args)

Call specific method on event args

Parameters

string $method
array $args

Return Value

mixed

in BaseORM at line 99
setEntityManager(EntityManager $em)

Set the entity manager

Parameters

EntityManager $em

in BaseORM at line 107
EntityManager getObjectManager()

Return Value

EntityManager

in BaseORM at line 124
int getObjectState(UnitOfWork $uow, object $object)

Get object state

Parameters

UnitOfWork $uow
object $object

Return Value

int The document state.

in BaseORM at line 132
array getObjectChangeSet(UnitOfWork $uow, object $object)

Get the object change set from a UnitOfWork

Parameters

UnitOfWork $uow
object $object

Return Value

array

in BaseORM at line 144
string getSingleIdentifierFieldName(ClassMetadata $meta)

Get the single identifier field name

Parameters

ClassMetadata $meta

Return Value

string

in BaseORM at line 158
void recomputeSingleObjectChangeSet(UnitOfWork $uow, ClassMetadata $meta, object $object)

Recompute the single object changeset from a UnitOfWork

Parameters

UnitOfWork $uow
ClassMetadata $meta
object $object

Return Value

void

in BaseORM at line 170
array getScheduledObjectUpdates(UnitOfWork $uow)

Get the scheduled object updates from a UnitOfWork

Parameters

UnitOfWork $uow

Return Value

array

in BaseORM at line 182
array getScheduledObjectInsertions(UnitOfWork $uow)

Get the scheduled object insertions from a UnitOfWork

Parameters

UnitOfWork $uow

Return Value

array

in BaseORM at line 194
array getScheduledObjectDeletions(UnitOfWork $uow)

Get the scheduled object deletions from a UnitOfWork

Parameters

UnitOfWork $uow

Return Value

array

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

Parameters

UnitOfWork $uow
string $oid
string $property
mixed $value

Return Value

void

in BaseORM at line 220
clearObjectChangeSet(UnitOfWork $uow, string $oid)

Clears the property change set of the object with the given OID.

Parameters

UnitOfWork $uow
string $oid The object's OID.

at line 22
bool replaceRelative(array $config, array $replacements)

Replace part of breadcrumb to all objects matching $target pattern

Parameters

array $config
array $replacements

Return Value

bool