code: public function current()
      {
          $current = current($this->storage);
          if ($this->useMapEntries) {
              return new MapEntry($current[0], $current[1]);
          }
          return $current[1];
      }
docs: Returns current entry value
  
  @return mixed|MapEntry MapEntry will be used only for php >= 5.5