Passed
Push — master ( f1a782...17ae54 )
by Ion
04:19 queued 45s
created

Model::getFilterable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace App\Models;
4
5
use IonGhitun\MysqlEncryption\Models\BaseModel;
6
7
/**
8
 * Class Model
9
 *
10
 * Each model should extend this class.
11
 *
12
 * @package App\Models
13
 */
14
class Model extends BaseModel
15
{
16
    /** @var array */
17
    protected $visible = [];
18
19
    /** @var array */
20
    protected $sortable = [];
21
22
    /** @var array */
23
    protected $searchable = [];
24
25
    /** @var array */
26
    protected $filterable = [];
27
28
    /**
29
     * Get sortable columns
30
     *
31
     * @return array
32
     */
33
    public function getSortable()
34
    {
35
        return $this->sortable;
36
    }
37
38
    /**
39
     * Get searchable columns
40
     *
41
     * @return array
42
     */
43
    public function getSearchable()
44
    {
45
        return $this->searchable;
46
    }
47
48
    /**
49
     * Get filterable columns
50
     *
51
     * @return array
52
     */
53
    public function getFilterable()
54
    {
55
        return $this->searchable;
56
    }
57
}
58