| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class HubSearch extends Hub |
||
| 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_bindings', |
||
| 30 | 'with_servers', |
||
| 31 | 'name_inilike', |
||
| 32 | 'rack_ilike', |
||
| 33 | 'order_no_ilike', |
||
| 34 | ]); |
||
| 35 | } |
||
| 36 | |||
| 37 | public function attributeLabels() |
||
| 43 | ]); |
||
| 44 | } |
||
| 46 |