You are here

public function DateRecurRRule::getNextOccurrences in Recurring Dates Field 8

Get the next occurrences after a start date.

Parameters

\DateTime|DrupalDateTime $start:

int $num:

Return value

array

File

src/DateRecurRRule.php, line 224

Class

DateRecurRRule

Namespace

Drupal\date_recur

Code

public function getNextOccurrences($start, $num) {
  return $this
    ->getOccurrences($start, NULL, $num);
}