coreGenerators() 보호된 메소드

Returns the list of the core code generator configurations.
protected coreGenerators ( ) : array
리턴 array the list of the core code generator configurations.
예제 #1
0
 /**
  * @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;
 }
예제 #2
0
 /**
  * @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']]);
 }