AppserverIo\Appserver\PersistenceContainer\StatefulSessionBeanMap::toIndexedArray PHP Method

toIndexedArray() public method

This method returns the internal array with the keys and the related values.
See also: AppserverIo\Collections\Map::toIndexedArray()
public toIndexedArray ( ) : array
return array Holds the array with keys and values
    public function toIndexedArray()
    {
        $array = array();
        foreach ($this->items as $key => $item) {
            $array[$key] = $item;
        }
        return $array;
    }