Total Complexity | 5 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class Column |
||
6 | { |
||
7 | private $modifiers; |
||
8 | private $name; |
||
9 | private $dataType; |
||
10 | private $attributes; |
||
11 | |||
12 | public function __construct(string $name, string $dataType = 'string', array $modifiers = [], array $attributes = []) |
||
13 | { |
||
14 | $this->name = $name; |
||
15 | $this->dataType = $dataType; |
||
16 | $this->modifiers = $modifiers; |
||
17 | $this->attributes = $attributes; |
||
18 | } |
||
19 | |||
20 | public function name() |
||
21 | { |
||
22 | return $this->name; |
||
23 | } |
||
24 | |||
25 | public function dataType() |
||
26 | { |
||
27 | return $this->dataType; |
||
28 | } |
||
29 | |||
30 | public function attributes() |
||
33 | } |
||
34 | |||
35 | public function modifiers() |
||
38 | } |
||
39 | } |
||
40 |