src/Malenki/Math/RandomComplex.php
public function getMany($n)
    {
        if (!is_integer($n) || $n < 2) {
            throw new \InvalidArgumentException('You must take 2 or more items in this case.');
        }

        $arr_out = array();

        for ($i = 0; $i < $n; $i++) {
            $arr_out[] = $this->get();
        }

        return $arr_out;
    }
public function getMany($n)
    {
        if (!is_integer($n) || $n < 2) {
            throw new \InvalidArgumentException('You must take 2 or more items in this case.');
        }

        $arr_out = array();

        for ($i = 0; $i < $n; $i++) {
            $arr_out[] = $this->get();
        }

        return $arr_out;
    }
Get many Complex numbers.

@throw \InvalidArgumentException If given amount is less than 2
@param  integer $n Amount of complex numbers to get. Must be greater than 2
@access public
@return array