Arrayzy\AbstractArray::createWithRange PHP Метод

createWithRange() публичный статический Метод

Create a new instance containing a range of elements.
public static createWithRange ( mixed $low, mixed $high, integer $step = 1 ) : AbstractArray
$low mixed First value of the sequence
$high mixed The sequence is ended upon reaching the end value
$step integer Used as the increment between elements in the sequence
Результат AbstractArray The created array
    public static function createWithRange($low, $high, $step = 1)
    {
        return new static(range($low, $high, $step));
    }