BiFace_Server_Lite/vendor/yii2mod/yii2-rbac/ConsoleModule.php
2020-03-27 10:13:51 +07:00

28 lines
629 B
PHP

<?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';
}