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):

View File

@ -5,7 +5,9 @@ In case you need to override the default views (that you surely have to do if yo
Bootstrap), Yii2 provides a mechanism that is really easy to do:
```php
// ... other configuration here
'components' => [
'view' => [
'theme' => [
@ -15,6 +17,7 @@ Bootstrap), Yii2 provides a mechanism that is really easy to do:
]
]
]
// ...
```