yiisoft / yii-gii

Yii code generator extension
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
33 stars 19 forks source link

Consider if `GiiInterface::addGenerator()` is needed #117

Open xepozz opened 12 months ago

xepozz commented 12 months ago

Gii generators are now passed through Gii class constructor. Any 3rd party libraries can add their own generators by declaring the needed section in its' configs.

Seems that GiiInterface::addGenerator() won't be used.

In case it's needed GiiInterface::addGenerator() must support lazy generator type: Closure(): GeneratorInterface