This commit is contained in:
2020-02-01 16:47:12 +07:00
commit 4c619ad6e6
16739 changed files with 3329179 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace yii2mod\rbac;
/**
* Class ConsoleModule
*
* Use [[\yii\base\Module::$controllerMap]] to change property of controller.
*
* ```php
* 'controllerMap' => [
* 'migrate' => [
* 'class' => 'yii2mod\rbac\commands\MigrateController',
* 'migrationTable' => '{{%auth_migration}}',
* 'migrationPath' => '@app/rbac/migrations',
* 'templateFile' => 'your own template file'
* ]
* ]
* ```
*/
class ConsoleModule extends Module
{
/**
* @var string the namespace that controller classes are in
*/
public $controllerNamespace = 'yii2mod\rbac\commands';
}