src/Soluble/DbWrapper/Result/Resultset.php
public function getArrayObject(): ArrayObject
    {
        if ($this->returnType === self::TYPE_ARRAY) {
            return new ArrayObject($this->storage);
        } else {
            /** @var ArrayObject $storageAsArrayObject to silent static code analyzers */
            $storageAsArrayObject = $this->storage;

            return $storageAsArrayObject;
        }
    }
public function getArrayObject(): ArrayObject
    {
        if ($this->returnType === self::TYPE_ARRAY) {
            return new ArrayObject($this->storage);
        } else {
            /** @var ArrayObject $storageAsArrayObject to silent static code analyzers */
            $storageAsArrayObject = $this->storage;

            return $storageAsArrayObject;
        }
    }
public function getArrayObject ( ) : ArrayObject { if ( $ this -> returnType === self :: TYPE_ARRAY ) { return new ArrayObject ( $ this -> storage ) ; } else { /** @var ArrayObject $storageAsArrayObject to silent static code analyzers */ $ storageAsArrayObject = $ this -> storage ; return $ storageAsArrayObject ; } }
Return underlying stored resultset as ArrayObject.

Depending on the $returnType Resultset::TYPE_ARRAY|Resultset::TYPE_ARRAYOBJECT you can modify
the internal storage

@return ArrayObject
Return underlying stored resultset as ArrayObject .