class PersistenceMagicAspect (View source)

Adds the aspect of persistence magic to relevant objects

Properties

protected bool $useIgBinary

If the extension "igbinary" is installed, use it for increased performance

protected PersistenceManagerInterface $persistenceManager
protected ReflectionService $reflectionService
protected string $Persistence_Object_Identifier

Methods

isEntity()

No description

isNonEmbeddedValueObject()

No description

isEntityOrValueObject()

No description

void
initializeObject()

Initializes this aspect

void
generateUuid(JoinPointInterface $joinPoint)

After returning advice, making sure we have an UUID for each and every entity.

void
generateValueHash(JoinPointInterface $joinPoint)

After returning advice, generates the value hash for the object

void
cloneObject(JoinPointInterface $joinPoint)

Mark object as cloned after cloning.

Details

isEntity()

No description

isNonEmbeddedValueObject()

No description

isEntityOrValueObject()

No description

void initializeObject()

Initializes this aspect

Return Value

void

void generateUuid(JoinPointInterface $joinPoint)

After returning advice, making sure we have an UUID for each and every entity.

Parameters

JoinPointInterface $joinPoint

The current join point

Return Value

void

void generateValueHash(JoinPointInterface $joinPoint)

After returning advice, generates the value hash for the object

Parameters

JoinPointInterface $joinPoint

The current join point

Return Value

void

void cloneObject(JoinPointInterface $joinPoint)

Mark object as cloned after cloning.

Note: this is not used by anything in the Flow base distribution, but might be needed by custom backends (like Neos.CouchDB).

Parameters

JoinPointInterface $joinPoint

Return Value

void