yii-gii icon indicating copy to clipboard operation
yii-gii copied to clipboard

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

Open xepozz opened this issue 8 months ago • 0 comments

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

xepozz avatar Oct 08 '23 11:10 xepozz