public function current()
    {
        $data = current($this->data);
        return Query::createItemObject($data, $this->lang, $this->getLoadedModel($data['id']));
    }
public function current()
    {
        $data = current($this->data);
        return Query::createItemObject($data, $this->lang, $this->getLoadedModel($data['id']));
    }
public function current ( ) { $ data = current ( $ this -> data ) ; return Query :: createItemObject ( $ data , $ this -> lang , $ this -> getLoadedModel ( $ data [ 'id' ] ) ) ; }
Iterator get current element, generates a new object for the current item on accessing.s.

@return \luya\cms\menu\Item
Iterator get current element generates a new object for the current item on accessing . s .