Nette\PhpGenerator\PhpFile::setComment PHP Method

setComment() public method

public setComment ( $val ) : self
return self
    public function setComment($val)
    {
        $this->comment = $val ? (string) $val : NULL;
        return $this;
    }