src/php/Arbit/Periodic/CronjobIterator.php
public function rewind()
    {
        /*
         * If we changed the years already we need to recalculate the data for
         * the first one
         */
        if ( $this->yearOffset !== 0 )
        {
            $this->generateTimetable( 0 );
        }
        else
        {
            // Just reset the current array pointers if the year is correct
            reset( $this->minutes );
            reset( $this->hours );
            reset( $this->monthAndDays );
        }
    }
public function rewind()
    {
        /*
         * If we changed the years already we need to recalculate the data for
         * the first one
         */
        if ( $this->yearOffset !== 0 )
        {
            $this->generateTimetable( 0 );
        }
        else
        {
            // Just reset the current array pointers if the year is correct
            reset( $this->minutes );
            reset( $this->hours );
            reset( $this->monthAndDays );
        }
    }
Iterator interface function resetting the interator

@return void