Core/src/Iterator/ItemIteratorTrait.php
public function current()
    {
        $page = $this->pageIterator->current();

        return isset($page[$this->pageIndex])
            ? $page[$this->pageIndex]
            : null;
    }
public function current()
    {
        $page = $this->pageIterator->current();

        return isset($page[$this->pageIndex])
            ? $page[$this->pageIndex]
            : null;
    }
public function current ( ) { $ page = $ this -> pageIterator -> current ( ) ; return isset ( $ page [ $ this -> pageIndex ] ) ? $ page [ $ this -> pageIndex ] : null ; }
Get the current item.

@return mixed
Get the current item .