public function getMultipleRunDates($total, $currentTime = 'now', $invert = false, $allowCurrentDate = false, $timeZone = null)
    {
        $matches = array();
        for ($i = 0; $i < max(0, $total); $i++) {
            try {
                $matches[] = $this->getRunDate($currentTime, $i, $invert, $allowCurrentDate, $timeZone);
            } catch (RuntimeException $e) {
                break;
            }
        }

        return $matches;
    }
public function getMultipleRunDates($total, $currentTime = 'now', $invert = false, $allowCurrentDate = false, $timeZone = null)
    {
        $matches = array();
        for ($i = 0; $i < max(0, $total); $i++) {
            try {
                $matches[] = $this->getRunDate($currentTime, $i, $invert, $allowCurrentDate, $timeZone);
            } catch (RuntimeException $e) {
                break;
            }
        }

        return $matches;
    }
public function getMultipleRunDates ( $ total , $ currentTime = 'now' , $ invert = false , $ allowCurrentDate = false , $ timeZone = null ) { $ matches = array ( ) ; for ( $ i = 0 ; $ i < max ( 0 , $ total ) ; $ i ++ ) { try { $ matches [ ] = $ this -> getRunDate ( $ currentTime , $ i , $ invert , $ allowCurrentDate , $ timeZone ) ; } catch ( RuntimeException $ e ) { break ; } } return $ matches ; }
Get multiple run dates starting at the current date or a specific date

@param int              $total            Set the total number of dates to calculate
@param string|\DateTime $currentTime      Relative calculation date
@param bool             $invert           Set to TRUE to retrieve previous dates
@param bool             $allowCurrentDate Set to TRUE to return the
current date if it matches the cron expression
@param null|string      $timeZone         Timezone to use instead of the system default

@return array Returns an array of run dates
Get multiple run dates starting at the current date or a specific date