Свойство | Тип | Описание | |
---|---|---|---|
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | The object manager | |
$objectReferences | SplObjectStorage | ||
$objectsAsArray | array | Objects stored as an array of properties | |
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | The persistence manager | |
$reconstitutedObjects | array | ||
$reflectionService | The reflection service |
Метод | Описание | |
---|---|---|
clearState ( ) : void | Clears the internal state, discarding all stored objects. | |
deserializeObjectsArray ( array $dataArray ) : array | Deserializes a given object tree and reinjects all dependencies. | |
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | Injects the object manager | |
injectPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void | Inject the persistence manager | |
injectReflectionService ( |
Injects the reflection service | |
serializeObjectAsPropertyArray ( object $object, boolean $isTopLevelItem = true ) : array | Serializes an object as property array. |
Метод | Описание | |
---|---|---|
buildStorageArrayForArrayProperty ( array $arrayProperty ) : array | Builds a storable array out of an array property. It calls itself recursively for multidimensional arrays. For objects putObject() ist called with the object's hash value as $objectName. | |
reconstituteArray ( array $dataArray ) : array | Reconstitutes an array from a data array. | |
reconstituteCollection ( string $type, array $dataArray ) : Doctrine\Common\Collections\Collection | Reconstitutes a Doctrine Collection from a data array. | |
reconstituteObject ( string $objectHash, array $objectData ) : object | Reconstitutes an object from a serialized object without calling the constructor. | |
reconstitutePersistenceObject ( string $className, string $uuid ) : object | Reconstitutes a persistence object (entity or valueobject) identified by the given UUID. | |
reconstituteSplObjectStorage ( array $dataArray ) : SplObjectStorage | Reconstitutes an SplObjectStorage from a data array. |
protected buildStorageArrayForArrayProperty ( array $arrayProperty ) : array | ||
$arrayProperty | array | The source array property |
Результат | array | The array property to store |
public clearState ( ) : void | ||
Результат | void |
public deserializeObjectsArray ( array $dataArray ) : array | ||
$dataArray | array | The serialized objects array |
Результат | array | The deserialized objects in an array |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | The object manager |
Результат | void |
public injectPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | The persistence manager |
Результат | void |
public injectReflectionService ( |
||
$reflectionService | The reflection service | |
Результат | void |
protected reconstituteArray ( array $dataArray ) : array | ||
$dataArray | array | The data array to reconstitute from |
Результат | array | The reconstituted array |
protected reconstituteCollection ( string $type, array $dataArray ) : Doctrine\Common\Collections\Collection | ||
$type | string | The collection type (class name) to create |
$dataArray | array | The data array to reconstitute from |
Результат | Doctrine\Common\Collections\Collection | The reconstituted Collection |
protected reconstituteSplObjectStorage ( array $dataArray ) : SplObjectStorage | ||
$dataArray | array | The data array to reconstitute from |
Результат | SplObjectStorage | The reconstituted SplObjectStorage |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
Результат | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected SplObjectStorage $objectReferences | ||
Результат | SplObjectStorage |
protected array $objectsAsArray | ||
Результат | array |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Результат | Neos\Flow\Persistence\PersistenceManagerInterface |