Nette\PhpGenerator\PhpFile::addComment PHP Method

addComment() public method

public addComment ( $val ) : self
return self
    public function addComment($val)
    {
        $this->comment .= $this->comment ? "\n{$val}" : $val;
        return $this;
    }