public function setContent(BlockStaticCollection $content)
    {
        if (count($content) > 0) {
            $this->content = $content;
        } else {
            $msg = "A HottextInteraction object must be composed of at least one BlockStatic object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setContent(BlockStaticCollection $content)
    {
        if (count($content) > 0) {
            $this->content = $content;
        } else {
            $msg = "A HottextInteraction object must be composed of at least one BlockStatic object, none given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setContent ( BlockStaticCollection $ content ) { if ( count ( $ content ) > 0 ) { $ this -> content = $ content ; } else { $ msg = "A HottextInteraction object must be composed of at least one BlockStatic object, none given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the content of the interaction, containing the hottext areas.

@param \qtism\data\content\BlockStaticCollection $content A collection of at least one BlockStatic object.
@throws \InvalidArgumentException If $content is empty.
Set the content of the interaction containing the hottext areas .