ProcessBundle/Task/EAVReaderTask.php
public function next(ProcessState $state)
    {
        if (!$this->iterator instanceof \Iterator) {
            throw new \LogicException('No iterator initialized');
        }
        $this->iterator->next();

        $valid = $this->iterator->valid();
        if (!$valid) {
            $this->closed = true;
        }

        return $valid;
    }
public function next(ProcessState $state)
    {
        if (!$this->iterator instanceof \Iterator) {
            throw new \LogicException('No iterator initialized');
        }
        $this->iterator->next();

        $valid = $this->iterator->valid();
        if (!$valid) {
            $this->closed = true;
        }

        return $valid;
    }
public function next ( ProcessState $ state ) { if ( ! $ this -> iterator instanceof \ Iterator ) { throw new \ LogicException ( 'No iterator initialized' ) ; } $ this -> iterator -> next ( ) ; $ valid = $ this -> iterator -> valid ( ) ; if ( ! $ valid ) { $ this -> closed = true ; } return $ valid ; }
Moves the internal pointer to the next element,
return true if the task has a next element
return false if the task has terminated it's iteration

@param ProcessState $state

@throws \LogicException

@return bool
Moves the internal pointer to the next element return true if the task has a next element return false if the task has terminated it s iteration