public function setContent(TrCollection $content)
    {
        if (count($content) > 0) {
            $this->content = $content;
        } else {
            $msg = "A Tbody object must be composed of at least 1 Tr object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setContent(TrCollection $content)
    {
        if (count($content) > 0) {
            $this->content = $content;
        } else {
            $msg = "A Tbody object must be composed of at least 1 Tr object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setContent ( TrCollection $ content ) { if ( count ( $ content ) > 0 ) { $ this -> content = $ content ; } else { $ msg = "A Tbody object must be composed of at least 1 Tr object, none given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the collection of Tr objects composing the Tbody.

@param \qtism\data\content\xhtml\tables\TrCollection $content A non-empty TrCollection object.
@throws \InvalidArgumentException If $components is empty.
Set the collection of Tr objects composing the Tbody .