| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class ServerSearch extends Server |
||
| 18 | { |
||
| 19 | use SearchModelTrait { |
||
| 20 | searchAttributes as defaultSearchAttributes; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritdoc} |
||
| 25 | */ |
||
| 26 | public function searchAttributes() |
||
| 27 | { |
||
| 28 | return ArrayHelper::merge($this->defaultSearchAttributes(), [ |
||
| 29 | 'with_requests', |
||
| 30 | 'show_deleted', |
||
| 31 | 'with_discounts', |
||
| 32 | 'wizzarded_eq', |
||
| 33 | 'name_inilike', |
||
| 34 | 'name_dc', |
||
| 35 | 'primary_only', |
||
| 36 | ]); |
||
| 37 | } |
||
| 38 | |||
| 39 | public function attributeLabels() |
||
| 44 | ]); |
||
| 45 | } |
||
| 47 |