add new guide

This commit is contained in:
Antonio Ramirez
2017-06-13 16:40:38 +02:00
parent 95ebe6d799
commit 270dcf35c8
4 changed files with 153 additions and 1 deletions

View File

@ -79,7 +79,9 @@ Now, to tell the module to use your class instead, you simply need to update the
the `Module::classMap` attribute.
```php
\\ ...
// ...
'modules' => [
'user' => [
'class' => Da\User\Module::class,
@ -88,6 +90,7 @@ the `Module::classMap` attribute.
]
]
]
```
The definition can be any of the following (from Yii2's DI container):