Passed
Push — master ( c6150b...ef80b0 )
by Mihail
05:01
created

Main::actionDebugcookie()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Apps\Controller\Admin;
4
5
6
use Extend\Core\Arch\AdminController;
7
8
/**
9
 * Class Main. Admin main controller - index page, settings, file manager, security and etc.
10
 * @package Apps\Controller\Admin
11
 */
12
class Main extends AdminController
13
{
14
    public $type = 'app';
15
16
    // import heavy actions
17
    use Main\ActionIndex {
18
        index as actionIndex;
19
    }
20
21
    use Main\ActionSettings {
22
        settings as actionSettings;
23
    }
24
25
    use Main\ActionUpdates {
0 ignored issues
show
introduced by
The trait Apps\Controller\Admin\Main\ActionUpdates requires some properties which are not provided by Apps\Controller\Admin\Main: $scriptVersion, $versionsEqual, $lastInfo, $lastVersion, $dbVersion, $haveRemoteNew
Loading history...
26
        updates as actionUpdates;
27
    }
28
29
    use Main\ActionSessions {
30
        sessions as actionSessions;
31
    }
32
33
    use Main\ActionFiles {
0 ignored issues
show
Bug introduced by
The trait Apps\Controller\Admin\Main\ActionFiles requires the property $scriptUrl which is not provided by Apps\Controller\Admin\Main.
Loading history...
34
        files as actionFiles;
35
    }
36
37
    use Main\ActionAntivirus {
38
        antivirus as actionAntivirus;
39
    }
40
41
    use Main\ActionDebugCookie {
42
        debugCookie as actionDebugcookie;
43
    }
44
45
    use Main\ActionRouting {
46
        routing as actionRouting;
47
    }
48
49
    use Main\ActionAddRoute {
50
        addRoute as actionAddroute;
51
    }
52
53
    use Main\ActionDeleteRoute {
0 ignored issues
show
Bug introduced by
The trait Apps\Controller\Admin\Main\ActionDeleteRoute requires the property $query which is not provided by Apps\Controller\Admin\Main.
Loading history...
54
        deleteRoute as actionDeleteroute;
55
    }
56
57
    use Main\ActionCache {
58
        cache as actionCache;
59
    }
60
61
    /**
62
     * Main constructor. Disable parent inheritance of typical app version checking
63
     */
64
    public function __construct()
65
    {
66
        parent::__construct(false);
67
    }
68
69
}
70