Comparing
#4 with
#5
Revision #5 was created by
OldMehdi on Oct 23, 2015, 9:55:30 AM.
Fixed Module::bootstrap() to make this tutorial work
Content
[...]
(I named it "example_commands" for this instructions)
Generate new module from commandline with gii (or use gii-webinterface)
```php
command> yii gii/module --moduleID=example_commands --moduleClass="app\modules\example_commands\Module
"
Running 'Module Generator'...[...]
{
if ($app instanceof \yii\console\Application) {
$this $app->controller
NamespaceMap[$this->id] = [
'class' =
> 'app\modules\example_commands\commands
'\TestingController',
'module' => $this,
];
}
}
}
[/code]
```[...]