public function setViews(ViewCollection $views)
    {
        if (count($views) > 0) {
            $this->views = $views;
        } else {
            $msg = "A RubricBlock object must contain at least one View.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setViews(ViewCollection $views)
    {
        if (count($views) > 0) {
            $this->views = $views;
        } else {
            $msg = "A RubricBlock object must contain at least one View.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setViews ( ViewCollection $ views ) { if ( count ( $ views ) > 0 ) { $ this -> views = $ views ; } else { $ msg = "A RubricBlock object must contain at least one View." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the views in which the rubric block's content are to be shown.

@param \qtism\data\ViewCollection $views A collection of values that belong to the View enumeration.
@throws \InvalidArgumentException If $views is an empty collection.
Set the views in which the rubric block s content are to be shown .