Set whether or not to generate annotations for the xml-entity
public setGenerateAnnotations ( boolean $bool ) : void | ||
$bool | boolean | |
return | void |
protected function getXmlEntityGenerator() { $xmlEntityGenerator = new XmlEntityGenerator(); $xmlEntityGenerator->setGenerateAnnotations(false); $xmlEntityGenerator->setGenerateStubMethods(true); $xmlEntityGenerator->setRegenerateXmlEntityIfExists(false); $xmlEntityGenerator->setUpdateXmlEntityIfExists(true); $xmlEntityGenerator->setNumSpaces(4); return $xmlEntityGenerator; }