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

TestController::actionTest()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 8
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
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