Passed
Push — master ( ee261b...2f3960 )
by Vladimir
01:56
created

StubActiveRecord::getSearchTitle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace vintage\search\stubs;
4
5
use yii\db\ActiveQueryInterface;
6
use yii\db\ActiveRecord;
7
use vintage\search\interfaces\CustomSearchInterface;
8
9
/**
10
 * Stub Active Record class for PHPDoc.
11
 *
12
 * @author Vladimir Kuprienko <[email protected]>
13
 * @since 1.1
14
 */
15
final class StubActiveRecord extends ActiveRecord implements CustomSearchInterface
16
{
17
    /**
18
     * @inheritdoc
19
     */
20
    public function getSearchTitle()
21
    {
22
    }
23
24
    /**
25
     * @inheritdoc
26
     */
27
    public function getSearchDescription()
28
    {
29
    }
30
31
    /**
32
     * @inheritdoc
33
     */
34
    public function getSearchUrl()
35
    {
36
    }
37
38
    /**
39
     * @inheritdoc
40
     */
41
    public function getSearchFields()
42
    {
43
    }
44
45
    /**
46
     * @inheritdoc
47
     */
48
    public function getQuery(ActiveQueryInterface $query, $field, $searchQuery)
49
    {
50
    }
51
}
52