| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Module extends \yii\base\Module |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $userClass = User::class; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public $controllerNamespace = 'modules\rbac\controllers'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @inheritdoc |
||
| 27 | */ |
||
| 28 | public function init() |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param string $category |
||
| 39 | * @param string $message |
||
| 40 | * @param array $params |
||
| 41 | * @param string|null $language |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public static function translate($category, $message, $params = [], $language = null) |
||
| 49 |