Passed
Push — master ( 2f3799...59abca )
by Mihail
06:06
created

Feedback::actionSettings()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 21
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 21
rs 9.9332
c 0
b 0
f 0
cc 3
nc 3
nop 0
1
<?php
2
3
4
namespace Apps\Controller\Admin;
5
6
use Apps\Model\Admin\Feedback\FormSettings;
7
use Extend\Core\Arch\AdminController as Controller;
8
use Ffcms\Core\App;
9
10
/**
11
 * Class Feedback. Control and manage feedback request and answers.
12
 * @package Apps\Controller\Admin
13
 */
14
class Feedback extends Controller
15
{
16
    const VERSION = '1.0.1';
17
    const ITEM_PER_PAGE = 10;
18
19
    public $type = 'app';
20
21
    // import heavy actions
22
    use Feedback\ActionIndex {
0 ignored issues
show
Bug introduced by
The trait Apps\Controller\Admin\Feedback\ActionIndex requires the property $query which is not provided by Apps\Controller\Admin\Feedback.
Loading history...
23
        index as actionIndex;
24
    }
25
26
    use Feedback\ActionRead {
27
        read as actionRead;
28
    }
29
30
    use Feedback\ActionUpdate {
0 ignored issues
show
Bug introduced by
The trait Apps\Controller\Admin\Feedback\ActionUpdate requires the property $id which is not provided by Apps\Controller\Admin\Feedback.
Loading history...
31
        update as actionUpdate;
32
    }
33
34
    use Feedback\ActionTurn {
35
        turn as actionTurn;
36
    }
37
38
    use Feedback\ActionDelete {
0 ignored issues
show
introduced by
The trait Apps\Controller\Admin\Feedback\ActionDelete requires some properties which are not provided by Apps\Controller\Admin\Feedback: $id, $feedback_id
Loading history...
39
        delete as actionDelete;
40
    }
41
42
    use Feedback\ActionSettings {
43
        settings as actionSettings;
44
    }
45
}
46