setAddComments() public method

Set current add comments option value
public setAddComments ( array $addComments = [] ) : GeneratorOptions
$addComments array
return GeneratorOptions
 /**
  * Sets the optionAddComments value
  * @param array $addComments
  * @return Generator
  */
 public function setOptionAddComments($addComments)
 {
     $this->options->setAddComments($addComments);
     return $this;
 }