| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 4 | class Column |
||
| 5 | { |
||
| 6 | protected $data; |
||
| 7 | protected $name; |
||
| 8 | protected $searchable; |
||
| 9 | protected $orderable; |
||
| 10 | protected $search; |
||
| 11 | |||
| 12 | public function __construct($data, $name, $searchable, $orderable, Search $search) |
||
| 13 | { |
||
| 14 | $this->data = $data; |
||
| 15 | $this->name = $name; |
||
| 16 | $this->searchable = (bool) $searchable; |
||
| 17 | $this->orderable = (bool) $orderable; |
||
| 18 | $this->search = $search; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getData() |
||
| 22 | { |
||
| 23 | return $this->data; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getOrderable() |
||
| 27 | { |
||
| 28 | return $this->orderable; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getSearch() |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getSearchable() |
||
| 39 | } |
||
| 40 | } |
||
| 41 |