Neos\Flow\ObjectManagement\ObjectSerializer::reconstituteSplObjectStorage PHP Method

reconstituteSplObjectStorage() protected method

Reconstitutes an SplObjectStorage from a data array.
protected reconstituteSplObjectStorage ( array $dataArray ) : SplObjectStorage
$dataArray array The data array to reconstitute from
return SplObjectStorage The reconstituted SplObjectStorage
    protected function reconstituteSplObjectStorage(array $dataArray)
    {
        $result = new \SplObjectStorage();
        foreach ($dataArray as $objectHash) {
            $result->attach($this->reconstituteObject($objectHash, $this->objectsAsArray[$objectHash]));
        }
        return $result;
    }