1 | <?php |
||
14 | class Index extends Definition\Item { |
||
15 | |||
16 | protected $type = null; |
||
17 | |||
18 | /** |
||
19 | * Validate a type value |
||
20 | * |
||
21 | * @return string|null : the type or null if the value is invalid |
||
22 | */ |
||
23 | |||
24 | private function validateType(string $value) { |
||
30 | |||
31 | /** |
||
32 | * Constructor |
||
33 | */ |
||
34 | |||
35 | public function __construct(string $name, string $type = null) { |
||
41 | |||
42 | /** |
||
43 | * Get the statement |
||
44 | */ |
||
45 | |||
46 | public function getStatement() : string { |
||
52 | } |
||
53 | } |
||
54 |