concrete/src/Csv/Export/AbstractExporter.php
protected function projectList(ItemList $list)
    {
        $sth = $list->deliverQueryObject()->execute();

        foreach ($sth as $row) {
            $listResult = $list->getResult($row);
            $object = $this->getObjectFromListResult($list, $listResult);
            yield iterator_to_array($this->projectObject($object));
            $this->tick();
        }
    }
protected function projectList(ItemList $list)
    {
        $sth = $list->deliverQueryObject()->execute();

        foreach ($sth as $row) {
            $listResult = $list->getResult($row);
            $object = $this->getObjectFromListResult($list, $listResult);
            yield iterator_to_array($this->projectObject($object));
            $this->tick();
        }
    }
protected function projectList ( ItemList $ list ) { $ sth = $ list -> deliverQueryObject ( ) -> execute ( ) ; foreach ( $ sth as $ row ) { $ listResult = $ list -> getResult ( $ row ) ; $ object = $ this -> getObjectFromListResult ( $ list , $ listResult ) ; yield iterator_to_array ( $ this -> projectObject ( $ object ) ) ; $ this -> tick ( ) ; } }
A generator that returns all the rows for an object list.

@param ItemList $list

@return string[][]\Generator
A generator that returns all the rows for an object list .