public function setMinChoices($minChoices)
    {
        if (is_int($minChoices) && $minChoices !== 0) {

            if ($minChoices > count($this->getHotspotChoices())) {
                $msg = "The 'minChoices' argument must not exceed the number of choices available.";
                throw new InvalidArgumentException($msg);
            }

            $this->minChoices = $minChoices;
        } else {
            $msg = "The 'minChoices' argument must be a strictly negative or positive integer, '" . gettype($minChoices) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }