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