Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class Text extends NamedColumn |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | protected $view = 'column.text'; |
||
11 | |||
12 | /** |
||
13 | * @var \Closure|mixed |
||
14 | */ |
||
15 | protected $modifier = null; |
||
16 | |||
17 | /** |
||
18 | * @var bool |
||
19 | */ |
||
20 | protected $isSearchable = true; |
||
21 | |||
22 | /** |
||
23 | * @return \Closure|mixed |
||
24 | */ |
||
25 | public function getModifier() |
||
26 | { |
||
27 | return $this->modifier; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param \Closure|mixed $modifier |
||
32 | * |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function setModifier($modifier) |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return array |
||
44 | */ |
||
45 | public function toArray() |
||
58 |