| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 14 | final class Table extends AbstractAnnotation |
||
| 15 | { |
||
| 16 | public const NAME = 'table'; |
||
| 17 | public const SCHEMA = [ |
||
| 18 | 'columns' => [Column::class], |
||
| 19 | 'indexes' => [Index::class], |
||
| 20 | ]; |
||
| 21 | |||
| 22 | /** @var array */ |
||
| 23 | protected $columns = []; |
||
| 24 | |||
| 25 | /** @var array */ |
||
| 26 | protected $indexes = []; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return Column[] |
||
| 30 | */ |
||
| 31 | public function getColumns(): array |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return Index[] |
||
| 38 | */ |
||
| 39 | public function getIndexes(): array |
||
| 42 | } |
||
| 43 | } |