| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 14 | final class Table implements TableInterface |
||
| 15 | { |
||
| 16 | private \FlexPHP\Schema\SchemaInterface $schema; |
||
| 17 | |||
| 18 | 7 | public function __construct(SchemaInterface $schema) |
|
| 19 | { |
||
| 20 | 7 | $this->schema = $schema; |
|
| 21 | 7 | } |
|
| 22 | |||
| 23 | 7 | public function getName(): string |
|
| 24 | { |
||
| 25 | 7 | return $this->schema->name(); |
|
| 26 | } |
||
| 27 | |||
| 28 | 7 | public function getColumns(): array |
|
| 37 | } |
||
| 38 | |||
| 39 | 7 | public function getOptions(): array |
|
| 44 | ]; |
||
| 45 | } |
||
| 46 | } |
||
| 47 |