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

An empty string means there is no title.

@param string $title
@throws InvalidArgumentException If $title is not a string.
Set the title of the feedback .