Total Complexity | 5 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class FieldRulePropertySearch extends FieldRuleProperty implements |
||
13 | ResourceSearch |
||
14 | { |
||
15 | /** |
||
16 | * @inhertidoc |
||
17 | */ |
||
18 | 1 | protected function slugBehaviorConfig(): array |
|
19 | { |
||
20 | return [ |
||
21 | 1 | 'idAttribute' => [], |
|
22 | 'resourceName' => 'property', |
||
23 | ]; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @inhertidoc |
||
28 | */ |
||
29 | 1 | public function rules() |
|
34 | ]; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @inhertidoc |
||
39 | */ |
||
40 | 1 | public function search( |
|
62 |