Свойство | Type | Description | |
---|---|---|---|
$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 |
Méthode | Description | |
---|---|---|
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. |
Méthode | Description | |
---|---|---|
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 |
Résultat | array | The array property to store |
public clearState ( ) : void | ||
Résultat | void |
public deserializeObjectsArray ( array $dataArray ) : array | ||
$dataArray | array | The serialized objects array |
Résultat | array | The deserialized objects in an array |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | The object manager |
Résultat | void |
public injectPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | The persistence manager |
Résultat | void |
public injectReflectionService ( |
||
$reflectionService | The reflection service | |
Résultat | void |
protected reconstituteArray ( array $dataArray ) : array | ||
$dataArray | array | The data array to reconstitute from |
Résultat | 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 |
Résultat | Doctrine\Common\Collections\Collection | The reconstituted Collection |
protected reconstituteSplObjectStorage ( array $dataArray ) : SplObjectStorage | ||
$dataArray | array | The data array to reconstitute from |
Résultat | SplObjectStorage | The reconstituted SplObjectStorage |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
Résultat | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected SplObjectStorage $objectReferences | ||
Résultat | SplObjectStorage |
protected array $objectsAsArray | ||
Résultat | array |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
Résultat | Neos\Flow\Persistence\PersistenceManagerInterface |