public function DateRecurNonRecurringHelper::key in Recurring Dates Field 8.2
Same name and namespace in other branches
- 3.x src/DateRecurNonRecurringHelper.php \Drupal\date_recur\DateRecurNonRecurringHelper::key()
- 3.0.x src/DateRecurNonRecurringHelper.php \Drupal\date_recur\DateRecurNonRecurringHelper::key()
- 3.1.x src/DateRecurNonRecurringHelper.php \Drupal\date_recur\DateRecurNonRecurringHelper::key()
File
- src/
DateRecurNonRecurringHelper.php, line 119
Class
- DateRecurNonRecurringHelper
- Dummy helper for handling non-recurring values.
Namespace
Drupal\date_recurCode
public function key() : ?int {
$key = key($this->occurrences);
assert(is_int($key));
return $key;
}