Return the current element.

@return mixed Can return any type.
@link   http://php.net/manual/en/iterator.current.php
481539
public function current()
	{
		if ( is_callable($this->callback) ) {
			$tmp = $this->issues[$this->offset];
			$callback = $this->callback;

			return $callback($tmp);
		}
		else {
			return $this->issues[$this->offset];
		}
	}
411536
public function current()
    {
        $line = fgets($this->handle);
        $this->length = strlen($line);
        fseek($this->handle, $this->offset);

        return $line;
    }
110945
public function current() {
		if ($this->string === null) {
			$this->string = fgets($this->file);
		}
		
		$string = rtrim($this->string, "\n\r");
		
		if ($this->delimiter === null) {
			return $string;
		} 
		
		$dataRaw = explode($this->delimiter, $string);
		$data    = [];

		if ($this->partsNames === null) {
			foreach ($dataRaw as $key => $part) {
				$data[self::UNNAMED_PREFIX . $key] = $part;
			}
			
			return $data;
		}
		
		foreach ($dataRaw as $key => $part) {
			if (isset($this->partsNames[$key])) {
				$data[$this->partsNames[$key]] = $part;
				continue;
			}
			
			$data[self::UNNAMED_PREFIX . $key] = $part;
		}

		return $data;
	}
1369936
public function getCurrent()
    {
        $data = [];
        foreach (get_object_vars($this) as $key => $value) {
            if (substr($key, 0, 8) !== 'internal') {
                $data[$key] = $value;
            }
        }

        return $data;
    }
930411
public function current()
    {
        if (!$this->page) {
            $this->page = $this->executeCall();
        }

        if (isset($this->page['prefixes'])) {
            $this->updatePrefixes();
        }

        return $this->get($this->itemsPath, $this->page);
    }
950103
public function current()
    {
        if (!$this->valid()) {
            return;
        }

        $document = $this->items[$this->position];

        if ($document instanceof $this->entityClass) {
            return $document;
        }

        $schema = $this->getSchemaForEntity();
        $entityAssembler = Ioc::makeWith(EntityAssembler::class, compact('schema'));

        return $entityAssembler->assemble($document, $schema);
    }
201690
public function current() {
    if ($this->position >= $this->length) {
      return NULL;
    }
    return $this->tokens[$this->position];
  }
470198
public function current()
    {
        return isset($this->mappedEnums[$this->iteratorIndex])
            ? $this->valueMap[$this->mappedEnums[$this->iteratorIndex]->getConstName()]
            : null;
    }
1055063
public function current()
    {
        $rowDataForRowToBeProcessed = $this->rowDataBuffer;

        if ($this->shouldPreserveEmptyRows) {
            // when we need to preserve empty rows, we will either return
            // an empty row or the last row read. This depends whether the
            // index of last row that was read matches the index of the last
            // row whose value should be returned.
            if ($this->lastRowIndexProcessed !== $this->nextRowIndexToBeProcessed) {
                // return empty row if mismatch between last processed row
                // and the row that needs to be returned
                $rowDataForRowToBeProcessed = [''];
            }
        }

        return $rowDataForRowToBeProcessed;
    }
969322
public function current()
    {
        $key = $this->keys[$this->index];
        $this->content = $this->getContentForKey($key, $this->content);
        return $this->content;
    }
902115
public function current()
    {
        if (!isset($this->rs)) {
            $this->doRs();
        }

        return $this->rs[$this->currentKey];
    }
1127341
public function current()
    {
        $url = $this->requestUrl;

        $response = $this->request('get', [$url]);

        return $this->parseSchedule($response);
    }
921561
public function current()
	{
		if (isset ($this->data[$this->position]))
		{
			return $this->data[$this->position];
		}
		return null;
	}
332523
public function current()
    {
        $name = $this->key();

        if ( $name )
        {
            return $this->getMapper()
                        ->find( $name );
        }

        return null;
    }
1333698
protected function current()
    {
        if (count($this->stack)) {
            return $this->stack[count($this->stack) -1];
        }
        return null;
    }
40680
public function current()
    {
        $value = parent::current();
        if (!isset($value['file'])) {
            $value['file'] = $this->collection->createDownload(array_intersect_key($value, ['_id' => true, 'filename' => true, 'length' => true, 'chunkSize' => true]));
        }
        return $value;
    }
519076
public function current()
    {
        if ($this->type == self::KEYS) {
            return $this->current->key;
        } else {
            return $this->current->value;
        }
    }