public function setSimpleChoices(SimpleChoiceCollection $simpleChoices)
    {
        if (count($simpleChoices) > 0) {
            $this->simpleChoices = $simpleChoices;
        } else {
            $msg = "An OrderInteraction object must be composed of at lease one SimpleChoice object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setSimpleChoices(SimpleChoiceCollection $simpleChoices)
    {
        if (count($simpleChoices) > 0) {
            $this->simpleChoices = $simpleChoices;
        } else {
            $msg = "An OrderInteraction object must be composed of at lease one SimpleChoice object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setSimpleChoices ( SimpleChoiceCollection $ simpleChoices ) { if ( count ( $ simpleChoices ) > 0 ) { $ this -> simpleChoices = $ simpleChoices ; } else { $ msg = "An OrderInteraction object must be composed of at lease one SimpleChoice object, none given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the ordered list of choices that are displayed to the user.

@param \qtism\data\content\interactions\SimpleChoiceCollection $simpleChoices A list of at lease one SimpleChoice object.
@throws InvalidArgumentException If $simpleChoices is empty.
Set the ordered list of choices that are displayed to the user .