Completed
Push — master ( 1626fc...8e919b )
by Andrii
03:53
created

CommonController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 14
ccs 0
cts 7
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A actionPerform() 0 8 1
1
<?php
2
/**
3
 * Automation tool mixed with code generator for easier continuous development.
4
 *
5
 * @link      https://github.com/hiqdev/hidev
6
 * @package   hidev
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hidev\controllers;
12
13
use Yii;
14
15
/**
16
 * Common controller.
17
 */
18
class CommonController extends AbstractController
19
{
20
    public $performName;
21
    public $performPath;
22
23
    public function actionPerform($name = null, $path = null)
24
    {
25
        $this->performName = $name;
26
        $this->performPath = $path;
27
        Yii::trace("Started: '$this->id'");
28
29
        return $this->perform();
30
    }
31
}
32