Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class Module extends \yii\base\Module |
||
12 | { |
||
13 | /** |
||
14 | * @inheritdoc |
||
15 | */ |
||
16 | public $controllerNamespace = 'modules\admin\controllers'; |
||
17 | |||
18 | /** |
||
19 | * @inheritdoc |
||
20 | */ |
||
21 | public function init() |
||
22 | { |
||
23 | parent::init(); |
||
24 | $this->setViewPath('@modules/admin/views'); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param string $category |
||
29 | * @param string $message |
||
30 | * @param array $params |
||
31 | * @param null|string $language |
||
32 | * @return string |
||
33 | */ |
||
34 | public static function t($category, $message, $params = [], $language = null) |
||
37 | } |
||
38 | } |
||
39 |