| 1 | <?php |
||
| 9 | final class Column |
||
| 10 | { |
||
| 11 | /** @var string */ |
||
| 12 | private $name = ''; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | private $type = ''; |
||
| 16 | |||
| 17 | /** @var \stdClass */ |
||
| 18 | private $typeSignature; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Column constructor. |
||
| 22 | * |
||
| 23 | * @param \stdClass $jsonContent |
||
| 24 | */ |
||
| 25 | public function __construct(\stdClass $jsonContent) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getName(): string |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getType(): string |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return mixed |
||
| 50 | */ |
||
| 51 | public function getTypeSignature() |
||
| 55 | } |
||
| 56 |