Skip to content

RangeIterator

  • Full name: \Qubus\View\Helper\RangeIterator
  • This class is marked as final and can't be subclassed
  • This class implements: \Iterator
  • This class is a Final class

Properties

lower

private float|int $lower

upper

private float|int $upper

step

private float|int $step

current

private float|int $current

Methods

__construct

public __construct(float|int $lower, float|int $upper, float|int $step = 1): mixed

Parameters:

Parameter Type Description
$lower float|int
$upper float|int
$step float|int

length

public length(): float|int

includes

public includes(mixed $n): bool

Parameters:

Parameter Type Description
$n mixed

random

public random(mixed $seed = null): int

Parameters:

Parameter Type Description
$seed mixed

rewind

public rewind(): void

key

public key(): int

valid

public valid(): bool

next

public next(): \Qubus\View\Helper\RangeIterator

current

public current(): int|float


Automatically generated on 2025-10-13