public function setMatchTableEntries(MatchTableEntryCollection $matchTableEntries)
    {
        if (count($matchTableEntries) > 0) {
            $this->matchTableEntries = $matchTableEntries;
        } else {
            $msg = "A MatchTable object must contain at least one MatchTableEntry object.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMatchTableEntries(MatchTableEntryCollection $matchTableEntries)
    {
        if (count($matchTableEntries) > 0) {
            $this->matchTableEntries = $matchTableEntries;
        } else {
            $msg = "A MatchTable object must contain at least one MatchTableEntry object.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setMatchTableEntries ( MatchTableEntryCollection $ matchTableEntries ) { if ( count ( $ matchTableEntries ) > 0 ) { $ this -> matchTableEntries = $ matchTableEntries ; } else { $ msg = "A MatchTable object must contain at least one MatchTableEntry object." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the collection of MatchTableEntry objects.

@param \qtism\data\state\MatchTableEntryCollection $matchTableEntries A collection of MatchTableEntry objects.
@throws \InvalidArgumentException If $matchTableEntries is an empty collection.
Set the collection of MatchTableEntry objects .