public function setTitle($title)
    {
        if (gettype($title) === 'string') {
            $this->title = $title;
        } else {
            $msg = "Title must be a string, '" . gettype($title) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setTitle($title)
    {
        if (gettype($title) === 'string') {
            $this->title = $title;
        } else {
            $msg = "Title must be a string, '" . gettype($title) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setTitle ( $ title ) { if ( gettype ( $ title ) === 'string' ) { $ this -> title = $ title ; } else { $ msg = "Title must be a string, '" . gettype ( $ title ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set the title of the Assessment Section.

@param string $title A title.
@throws \InvalidArgumentException If $title is not a string.
Set the title of the Assessment Section .