PersistenceMagicAspect
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
No description
No description
No description
Initializes this aspect
After returning advice, making sure we have an UUID for each and every entity.
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
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.
Note: this is not used by anything in the Flow base distribution, but might be needed by custom backends (like Neos.CouchDB).