Returns the current content based on the current key.

@return mixed The current content.
969322
public function current()
    {
        $key = $this->keys[$this->index];
        $this->content = $this->getContentForKey($key, $this->content);
        return $this->content;
    }
446018
public function current()
    {
        $key = $this->key();

        $table = $this->tables[$key];
        
        $this->setCurrentTable($table);

        return $table;
    }
470198
public function current()
    {
        return isset($this->mappedEnums[$this->iteratorIndex])
            ? $this->valueMap[$this->mappedEnums[$this->iteratorIndex]->getConstName()]
            : null;
    }
388011
public function current()
    {
        $keys = array_keys($this->tags);
        return $this->tags[$keys[$this->position]];
    }
661935
public function key()
    {
        $extractor = $this->_key;

        return $extractor($this->_fetchCurrent(), parent::key(), $this);
    }
1340498
public function current()
    {
        if (!is_array($this->val)) {
            return null;
        }
        if ($this->assocArray) {
            $keys = array_keys($this->val);
            return $this->val[$keys[$this->position]];
        }

        return $this->val[$this->position];
    }
251175
private function getCurrentItem()
    {
        // Hack for weird initialization logic
        if (!$this->currentItem) {
            $key = $this->getCurrentKey();
            $this->currentItem = $this->getItemStorage()->get($key);
        }

        return $this->currentItem;
    }
1212463
public function current()
    {
        $sKey = key($this->values);

        return (true === isset($this->values[$sKey])) ? $this->values[$sKey] : null;
    }
81256
public function current()
    {
        if (isset($this->buffer[$this->position])) {
            return $this->buffer[$this->position];
        }
        $this->ensurePosition();
        $data = $this->resultSet->current();
        $this->buffer[$this->position] = $data;
        return $data;
    }
705716
public function current()
        {
            $this->_sort();
            current($this->_index);
            $hash = key($this->_index);

            if (isset($this->_pages[$hash])) {
                return $this->_pages[$hash];
            } else {
                throw new Exception(
                        'Corruption detected in container; ' .
                        'invalid key found in internal iterator');
            }
        }
1109494
public function current()
    {
        $row = null;

        if ($this->valid()) {
            /* @var $schemaManager SchemaManager */
            $schemaManager = $this->schemaManager;

            $schemas = $schemaManager->listSchemas();

            $schema = $schemas[$this->index];

            $row = [
                'CATALOG_NAME' => null,
                'SCHEMA_NAME' => $schema,
                'DEFAULT_CHARACTER_SET_NAME' => null,
                'DEFAULT_COLLATION_NAME' => null,
                'SQL_PATH' => null,
            ];
        }

        return $row;
    }
162069
public function getContent()
    {
        if (null === $this->content) {
            $this->content = $this->client->requestRaw('GET', $this->href);
        }

        return $this->content;
    }
642178
protected function getCurrent($key)
    {
        if (isset($this->current[$key])) {
            return $this->current[$key];
        }
        return null;
    }
469351
protected function _fetchCurrent()
    {
        if ($this->_current !== null) {
            return $this->_current;
        }

        return $this->_current = parent::current();
    }
680346
public function getCurrentArticle()
    {
        if ($this->current_article instanceof Article || $this->current_article === null) {
            return $this->current_article;
        }

        $params = Controller::curr()->getRequest()->params();
        if(empty($params['ID'])){
            $this->current_article = null;
        } else {
            $this->current_article = Article::get()->filter(['HailID' => $params['ID']])->first();
        }

        return $this->current_article;
    }
36092
function key()
    {
        $current = $this->getInnerIterator()->current();

        if (!is_scalar($current)) {
            return (string) $current;
        }

        return $current;
    }
217146
protected function getCurrentHash()
    {
        if ($this->currentHash === null)
        {
            $this->currentHash = md5(
                $this->request->fullUrl() .
                $this->request->method() .
                $this->request->getClientIp()
            );
        }

        return $this->currentHash;
    }