Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need help with Providers #6

Closed
einar-lanfranco opened this issue Apr 22, 2014 · 2 comments
Closed

I need help with Providers #6

einar-lanfranco opened this issue Apr 22, 2014 · 2 comments

Comments

@einar-lanfranco
Copy link
Contributor

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!

@schmunk42
Copy link
Owner

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

@schmunk42
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants