setPrefix() public method

Set current prefix option value
public setPrefix ( string $prefix ) : GeneratorOptions
$prefix string
return GeneratorOptions
 /**
  * Sets the package name prefix
  * @param string $optionPrefix
  * @return Generator
  */
 public function setOptionPrefix($optionPrefix)
 {
     $this->options->setPrefix($optionPrefix);
     return $this;
 }