/**
  * @param Generator $generator
  */
 public function __construct(Generator $generator)
 {
     parent::__construct($generator);
     $this->initParsers();
 }
 /**
  * Main constructor
  * @uses AbstractModel::setName()
  * @param Generator $generator
  * @param string $name the original name
  */
 public function __construct(Generator $generator, $name)
 {
     parent::__construct($generator);
     $this->setName($name);
 }
 /**
  * @param Generator $generator
  */
 public function __construct(Generator $generator)
 {
     parent::__construct($generator);
     $this->initStructs()->initServices();
 }