| Total Complexity | 7 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Coverage | 52% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class TableGeneratorSchemaVisitor implements Visitor |
||
| 16 | { |
||
| 17 | /** @var string */ |
||
| 18 | private $generatorTableName; |
||
| 19 | |||
| 20 | 52 | public function __construct(string $generatorTableName = 'sequences') |
|
| 21 | { |
||
| 22 | 52 | $this->generatorTableName = $generatorTableName; |
|
| 23 | 52 | } |
|
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | 52 | public function acceptSchema(Schema $schema) : void |
|
| 34 | 52 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | 52 | public function acceptTable(Table $table) : void |
|
| 40 | { |
||
| 41 | 52 | } |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | 52 | public function acceptColumn(Table $table, Column $column) : void |
|
| 47 | { |
||
| 48 | 52 | } |
|
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | public function acceptForeignKey(Table $localTable, ForeignKeyConstraint $fkConstraint) : void |
||
| 54 | { |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritdoc} |
||
| 59 | */ |
||
| 60 | public function acceptIndex(Table $table, Index $index) : void |
||
| 61 | { |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * {@inheritdoc} |
||
| 66 | */ |
||
| 67 | public function acceptSequence(Sequence $sequence) : void |
||
| 69 | } |
||
| 70 | } |
||
| 71 |