/**
* @param string $wsdl
* @return Generator
*/
public static function getInstance($wsdl, $reset = true, $gatherMethods = GeneratorOptions::VALUE_START)
{
AbstractModel::purgeUniqueNames();
AbstractModel::purgeReservedKeywords();
$g = parent::getInstance($wsdl, $reset);
$g->setOptionPrefix('Api')->setOptionAddComments(array('release' => '1.1.0'))->setOptionCategory(GeneratorOptions::VALUE_CAT)->setOptionGatherMethods($gatherMethods);
self::applyParsers($g, $wsdl);
return $g;
}