generate() public method
Generates the code based on the current user input and the specified code template files.
This is the main method that child classes should implement. Please refer to yii\gii\generators\controller\Generator::generate() as an example on how to implement this method.
public yii\gii\CodeFile[] generate ( ) | ||
---|---|---|
return | yii\gii\CodeFile[] |
A list of code files to be created. |
Please login to continue.