SolicitudeValueResource   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 19
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A verbs() 0 4 1
1
<?php
2
3
namespace roaresearch\yii2\formgenerator\roa\resources;
4
5
use roaresearch\yii2\formgenerator\roa\models\SolicitudeValue;
6
use roaresearch\yii2\formgenerator\roa\models\SolicitudeValueSimpleSearch;
7
8
/**
9
 * Search resource for `SolicitudeValue` records
10
 * @author Angel (Faryshta) Guevara <[email protected]>
11
 */
12
class SolicitudeValueResource extends \roaresearch\yii2\roa\controllers\Resource
13
{
14
    /**
15
     * @inheritdoc
16
     */
17
    public $modelClass = SolicitudeValue::class;
18
19
    /**
20
     * @inheritdoc
21
     */
22
    public $searchClass = SolicitudeValueSimpleSearch::class;
23
24
    /**
25
     * @inheritdoc
26
     */
27 1
    public function verbs()
28
    {
29
        return [
30 1
            'index' => ['GET', 'HEAD'],
31
        ];
32
    }
33
}
34