Completed
Push — master ( e92aa8...ae2fd3 )
by Vuong
01:18
created

TestController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A actionTest() 0 8 1
1
<?php
2
/**
3
 * @link https://github.com/vuongxuongminh/yii2-js-params
4
 * @copyright Copyright (c) 2019 Vuong Xuong Minh
5
 * @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
6
 */
7
8
namespace vxm\jsParams;
9
10
use yii\web\Controller;
11
12
class TestController extends Controller
13
{
14
15
    public function actionTest()
16
    {
17
        return $this->render('test', [
18
            'jsParams' => [
19
                'test' => 'vxm'
20
            ]
21
        ]);
22
    }
23
}
24