This repository was archived by the owner on Mar 4, 2026. It is now read-only.
Repository navigation
Replies: 1 comment 2 replies
|
Yes, it's a new concept if you haven't used DI container in Yii2 (there it was optional). Here you go: https://github.com/yiisoft/docs/blob/master/guide/en/concept/di-container.md It's a draft documentation but, I think, explains it well. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I try to understand where the
$validatorobject comes from insrc/Contact/ContactController.phpThe action
contactis defined in./config/routes.php:But there is no link to any
Validatordefined nor any injection of an ValidatorInterface or a model class.All reactions