public static function range(int $base, int $stop = null, int $step = 1): Arrayy
    {
        if ($stop !== null) {
            $start = $base;
        } else {
            $start = 1;
            $stop = $base;
        }

        return Arrayy::create(\range($start, $stop, $step));
    }
public static function range(int $base, int $stop = null, int $step = 1): Arrayy
    {
        if ($stop !== null) {
            $start = $base;
        } else {
            $start = 1;
            $stop = $base;
        }

        return Arrayy::create(\range($start, $stop, $step));
    }
public static function range ( int $ base , int $ stop = null , int $ step = 1 ) : Arrayy { if ( $ stop !== null ) { $ start = $ base ; } else { $ start = 1 ; $ stop = $ base ; } return Arrayy :: create ( \ range ( $ start , $ stop , $ step ) ) ; }
Generate an array from a range.

@param int      $base The base number
@param int|null $stop The stopping point
@param int      $step How many to increment of

@return Arrayy
Generate an array from a range .