Returns the list of the core code generator configurations.
protected coreGenerators ( ) : array | ||
return | array | the list of the core code generator configurations. |
/** * @inheritdoc */ protected function coreGenerators() { $res = parent::coreGenerators(); $res['extension']['class'] = 'hiqdev\\hiqgii\\generators\\extension\\Generator'; $res['module']['class'] = 'hiqdev\\hiqgii\\generators\\module\\Generator'; return $res; }
/** * @inheritdoc */ protected function coreGenerators() { return array_merge(parent::coreGenerators(), ['base_model' => ['class' => 'yii\\gii\\plus\\generators\\base\\model\\Generator'], 'custom_model' => ['class' => 'yii\\gii\\plus\\generators\\custom\\model\\Generator'], 'fixture' => ['class' => 'yii\\gii\\plus\\generators\\fixture\\Generator']]); }