Total Complexity | 3 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class Module extends \yii\base\Module |
||
13 | { |
||
14 | /** |
||
15 | * @inheritdoc |
||
16 | */ |
||
17 | public function behaviors() |
||
26 | ], |
||
27 | ], |
||
28 | ], |
||
29 | ]; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | */ |
||
35 | public $controllerNamespace = 'modules\admin\controllers'; |
||
36 | |||
37 | /** |
||
38 | * @inheritdoc |
||
39 | */ |
||
40 | public function init() |
||
41 | { |
||
42 | parent::init(); |
||
43 | $this->setViewPath('@modules/admin/views'); |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @param string $category |
||
48 | * @param string $message |
||
49 | * @param array $params |
||
50 | * @param null|string $language |
||
51 | * @return string |
||
52 | */ |
||
53 | public static function t($category, $message, $params = [], $language = null) |
||
56 | } |
||
57 | } |
||
58 |