protected function generateArray()
    {
        $result = [];

        $last = count($this->items)-1;

        for ($counter = 1; $counter <= $this->count; $counter++) {
            $result[] = $this->items[$this->generateRandomInt(0, $last)];
        }

        if ($this->count == 1) {
            return $result[0];
        }

        return $result;
    }