SolicitudeValueResource::verbs()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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