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

User::actionSettings()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 18
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 18
rs 9.9332
c 0
b 0
f 0
cc 3
nc 3
nop 0
1
<?php
2
3
namespace Apps\Controller\Admin;
4
5
6
use Extend\Core\Arch\AdminController;
7
8
/**
9
 * Class User. Admin controller of user application.
10
 * @package Apps\Controller\Admin
11
 */
12
class User extends AdminController
13
{
14
    const VERSION = '1.0.1';
15
    const ITEM_PER_PAGE = 10;
16
17
    public $type = 'app';
18
19
    use User\ActionIndex {
0 ignored issues
show
Bug introduced by
The trait Apps\Controller\Admin\User\ActionIndex requires the property $query which is not provided by Apps\Controller\Admin\User.
Loading history...
20
        index as actionIndex;
21
    }
22
23
    use User\ActionUpdate {
24
        update as actionUpdate;
25
    }
26
27
    use User\ActionDelete {
0 ignored issues
show
introduced by
The trait Apps\Controller\Admin\User\ActionDelete requires some properties which are not provided by Apps\Controller\Admin\User: $users, $query
Loading history...
28
        delete as actionDelete;
29
    }
30
31
    use User\ActionInviteList {
0 ignored issues
show
Bug introduced by
The trait Apps\Controller\Admin\User\ActionInviteList requires the property $query which is not provided by Apps\Controller\Admin\User.
Loading history...
32
        inviteList as actionInvitelist;
33
    }
34
35
    use User\ActionInviteSend {
36
        inviteSend as actionInvite;
37
    }
38
39
    use User\ActionInviteDelete {
40
        inviteDelete as actionInviteDelete;
41
    }
42
43
    use User\ActionRoleList {
44
        listing as actionRolelist;
45
    }
46
47
    use User\ActionRoleUpdate {
48
        roleUpdate as actionRoleupdate;
49
    }
50
51
    use User\ActionSettings {
52
        settings as actionSettings;
53
    }
54
}
55