You are here

public function DateRecurNonRecurringHelper::rewind in Recurring Dates Field 3.x

Same name and namespace in other branches
  1. 8.2 src/DateRecurNonRecurringHelper.php \Drupal\date_recur\DateRecurNonRecurringHelper::rewind()
  2. 3.0.x src/DateRecurNonRecurringHelper.php \Drupal\date_recur\DateRecurNonRecurringHelper::rewind()
  3. 3.1.x src/DateRecurNonRecurringHelper.php \Drupal\date_recur\DateRecurNonRecurringHelper::rewind()

File

src/DateRecurNonRecurringHelper.php, line 135

Class

DateRecurNonRecurringHelper
Dummy helper for handling non-recurring values.

Namespace

Drupal\date_recur

Code

public function rewind() : void {
  reset($this->occurrences);
}