PHP Class Neos\Flow\Persistence\Aspect\PersistenceMagicAspect

Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$Persistence_Object_Identifier string
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$reflectionService Neos\Flow\Reflection\ReflectionService
$useIgBinary boolean If the extension "igbinary" is installed, use it for increased performance

Méthodes publiques

Méthode Description
cloneObject ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void Mark object as cloned after cloning.
generateUuid ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void After returning advice, making sure we have an UUID for each and every entity.
generateValueHash ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void After returning advice, generates the value hash for the object
initializeObject ( ) : void Initializes this aspect
isEntity ( )
isEntityOrValueObject ( )
isNonEmbeddedValueObject ( )

Method Details

cloneObject() public méthode

Note: this is not used by anything in the Flow base distribution, but might be needed by custom backends (like Neos.CouchDB).
public cloneObject ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void
$joinPoint Neos\Flow\Aop\JoinPointInterface
Résultat void

generateUuid() public méthode

After returning advice, making sure we have an UUID for each and every entity.
public generateUuid ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void
$joinPoint Neos\Flow\Aop\JoinPointInterface The current join point
Résultat void

generateValueHash() public méthode

After returning advice, generates the value hash for the object
public generateValueHash ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void
$joinPoint Neos\Flow\Aop\JoinPointInterface The current join point
Résultat void

initializeObject() public méthode

Initializes this aspect
public initializeObject ( ) : void
Résultat void

isEntity() public méthode

public isEntity ( )

isEntityOrValueObject() public méthode

isNonEmbeddedValueObject() public méthode

Property Details

$Persistence_Object_Identifier protected_oe property

protected string $Persistence_Object_Identifier
Résultat string

$persistenceManager protected_oe property

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
Résultat Neos\Flow\Persistence\PersistenceManagerInterface

$reflectionService protected_oe property

protected ReflectionService,Neos\Flow\Reflection $reflectionService
Résultat Neos\Flow\Reflection\ReflectionService

$useIgBinary protected_oe property

If the extension "igbinary" is installed, use it for increased performance
protected bool $useIgBinary
Résultat boolean