Passed
Push — master ( 6760ee...9e3b1c )
by Ion
02:46
created

Model::getSearchable()   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 $sortable = [];
18
19
    /** @var array */
20
    protected $searchable = [];
21
22
    /**
23
     * Get sortable columns
24
     *
25
     * @return array
26
     */
27
    public function getSortable()
28
    {
29
        return $this->sortable;
30
    }
31
32
    /**
33
     * Get searchable columns
34
     *
35
     * @return array
36
     */
37
    public function getSearchable()
38
    {
39
        return $this->searchable;
40
    }
41
}
42