src/TaskRunner.php
public static function getRunDates($time, $count = 10)
    {
        try {
            $cron = CronExpression::factory($time);
            $dates = $cron->getMultipleRunDates($count);
        } catch (\Exception $e) {
            return array();
        }
        return $dates;
    }
public static function getRunDates($time, $count = 10)
    {
        try {
            $cron = CronExpression::factory($time);
            $dates = $cron->getMultipleRunDates($count);
        } catch (\Exception $e) {
            return array();
        }
        return $dates;
    }
public static function getRunDates ( $ time , $ count = 10 ) { try { $ cron = CronExpression :: factory ( $ time ) ; $ dates = $ cron -> getMultipleRunDates ( $ count ) ; } catch ( \ Exception $ e ) { return array ( ) ; } return $ dates ; }
Returns next run dates for time expression
@param string $time
@param int $count
@return array
Returns next run dates for time expression