schmunk42/yii2-giiant

I need help with Providers

Closed this issue · 2 comments

i want to use Providers but I can't follow the instruccions from Readme.md. I think this happens to me because i'm new at yii2.

Can you give me some details?

When you say: "Configure providers, add this to your provider list in the form:". What is form?

And when you say "And configure the settings of the provider:"? Which file i have to modify?

Note: i found in yiisoft/yii2/CHANGELOG.md Yii::$objectConfig is removed. You should use Yii::$container->set() to configure default settings of classes. (qiangxue)

Thak you in advance!

Thanks for reporting, I've updated the README.
You may call set() anywhere before execution, but I'd recommend local or console config.

Sorry, console makes no sense (unless running from command line). Then web.php