1 | <?php |
||
25 | final class Column |
||
26 | { |
||
27 | /** @var string */ |
||
28 | private $name = ''; |
||
29 | |||
30 | /** @var string */ |
||
31 | private $type = ''; |
||
32 | |||
33 | /** @var \stdClass */ |
||
34 | private $typeSignature; |
||
35 | |||
36 | /** |
||
37 | * Column constructor. |
||
38 | * |
||
39 | * @param \stdClass $jsonContent |
||
40 | */ |
||
41 | public function __construct(\stdClass $jsonContent) |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getName(): string |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getType(): string |
||
63 | |||
64 | /** |
||
65 | * @return mixed |
||
66 | */ |
||
67 | public function getTypeSignature() |
||
71 | } |
||
72 |