PHP Класс Neos\Flow\Persistence\Aspect\PersistenceMagicAspect

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
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 ( )

Описание методов

cloneObject() публичный Метод

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
Результат void

generateUuid() публичный Метод

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
Результат void

generateValueHash() публичный Метод

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
Результат void

initializeObject() публичный Метод

Initializes this aspect
public initializeObject ( ) : void
Результат void

isEntity() публичный Метод

public isEntity ( )

isEntityOrValueObject() публичный Метод

isNonEmbeddedValueObject() публичный Метод

Описание свойств

$Persistence_Object_Identifier защищенное свойство

protected string $Persistence_Object_Identifier
Результат string

$persistenceManager защищенное свойство

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
Результат Neos\Flow\Persistence\PersistenceManagerInterface

$reflectionService защищенное свойство

protected ReflectionService,Neos\Flow\Reflection $reflectionService
Результат Neos\Flow\Reflection\ReflectionService

$useIgBinary защищенное свойство

If the extension "igbinary" is installed, use it for increased performance
protected bool $useIgBinary
Результат boolean