public function setGapImgs(GapImgCollection $gapImgs)
    {
        if (count($gapImgs) > 0) {
            $this->gapImgs = $gapImgs;
        } else {
            $msg = "A GraphicGapMatch interaction must composed of at least 1 GapImg object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setGapImgs(GapImgCollection $gapImgs)
    {
        if (count($gapImgs) > 0) {
            $this->gapImgs = $gapImgs;
        } else {
            $msg = "A GraphicGapMatch interaction must composed of at least 1 GapImg object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setGapImgs ( GapImgCollection $ gapImgs ) { if ( count ( $ gapImgs ) > 0 ) { $ this -> gapImgs = $ gapImgs ; } else { $ msg = "A GraphicGapMatch interaction must composed of at least 1 GapImg object, none given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the list of choices for filling the gaps.

@param \qtism\data\content\interactions\GapImgCollection $gapImgs A collection of GapImg objects.
@throws \InvalidArgumentException If $gapImgs is empty.
Set the list of choices for filling the gaps .