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

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