Completed
Push — master ( d724c7...369abf )
by Igor
02:19
created

SettingsController::actionClearCache()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 7
rs 9.4285
cc 2
eloc 4
nc 2
nop 0
1
<?php
2
3
namespace app\modules\admin\controllers;
4
5
use yii\web\Controller;
6
7
/**
8
 * Class SettingController
9
 * @package app\modules\admin\controllers
10
 */
11
class SettingsController extends Controller
12
{
13
14
    /**
15
     * @return array
16
     */
17
    public function actions()
18
    {
19
        return [
20
            'cron' => 'yii2mod\cron\actions\CronLogAction',
21
        ];
22
    }
23
24
}
25