public function SequenceIndex::getRange in Multiversion 8
Same name and namespace in other branches
- 8.2 src/Entity/Index/SequenceIndex.php \Drupal\multiversion\Entity\Index\SequenceIndex::getRange()
Parameters
float $start:
float $stop:
boolean $inclusive:
Return value
array
Overrides SequenceIndexInterface::getRange
File
- src/
Entity/ Index/ SequenceIndex.php, line 71
Class
Namespace
Drupal\multiversion\Entity\IndexCode
public function getRange($start, $stop = NULL, $inclusive = TRUE) {
$range = $this
->sortedSetStore()
->getRange($start, $stop, $inclusive);
if (empty($range)) {
$range = $this
->sortedSetStore(0)
->getRange($start, $stop, $inclusive);
}
return $range;
}