Iterator/ScheduleManagerScheduleIterator.php
protected function setCurrent()
    {
        if(count($this->buffer) === 0)
        {
            $this->buffer();
        }

        $this->current = count($this->buffer) > 0 ? array_pop($this->buffer) : null;
    }
protected function setCurrent()
    {
        if(count($this->buffer) === 0)
        {
            $this->buffer();
        }

        $this->current = count($this->buffer) > 0 ? array_pop($this->buffer) : null;
    }
Assign current pointer