Completed
Push — master ( 92156c...43c17e )
by Andrii
25:32 queued 10:20
created

PrefixSearch::searchAttributes()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace hipanel\modules\hosting\models;
4
5
use hipanel\base\SearchModelTrait;
6
use hipanel\helpers\ArrayHelper;
7
8
class PrefixSearch extends Prefix
9
{
10
    use SearchModelTrait {
11
        searchAttributes as defaultSearchAttributes;
12
    }
13
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function searchAttributes()
18
    {
19
        return ArrayHelper::merge($this->defaultSearchAttributes(), [
20
            'aggregate',
21
            'prefix',
22
        ]);
23
    }
24
}
25