We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5ea835 commit c943172Copy full SHA for c943172
ConsoleModule.php
@@ -2,8 +2,6 @@
2
3
namespace yii2mod\rbac;
4
5
-use yii\base\BootstrapInterface;
6
-
7
/**
8
* Class ConsoleModule
9
*
@@ -20,20 +18,10 @@
20
18
* ]
21
19
* ~~~
22
*/
23
-class ConsoleModule extends Module implements BootstrapInterface
+class ConsoleModule extends Module
24
{
25
26
* @var string the namespace that controller classes are in.
27
28
public $controllerNamespace = 'yii2mod\rbac\commands';
29
30
- /**
31
- * @param $app
32
- */
33
- public function bootstrap($app)
34
- {
35
- if ($app instanceof \yii\console\Application) {
36
- $this->controllerNamespace = 'yii2mod\rbac\commands';
37
- }
38
39
}
0 commit comments