TableGeneratorSchemaVisitor
in package
implements
Visitor
Tags
Table of Contents
Interfaces
- Visitor
- Schema Visitor used for Validation or Generation purposes.
Properties
- $generatorTableName : string
Methods
- __construct() : mixed
- acceptColumn() : void
- acceptForeignKey() : void
- acceptIndex() : void
- acceptSchema() : void
- acceptSequence() : void
- acceptTable() : void
Properties
$generatorTableName
private
string
$generatorTableName
Methods
__construct()
public
__construct([string $generatorTableName = 'sequences' ]) : mixed
Parameters
- $generatorTableName : string = 'sequences'
acceptColumn()
public
acceptColumn(Table $table, Column $column) : void
Parameters
acceptForeignKey()
public
acceptForeignKey(Table $localTable, ForeignKeyConstraint $fkConstraint) : void
Parameters
- $localTable : Table
- $fkConstraint : ForeignKeyConstraint
acceptIndex()
public
acceptIndex(Table $table, Index $index) : void
Parameters
acceptSchema()
public
acceptSchema(Schema $schema) : void
Parameters
- $schema : Schema
acceptSequence()
public
acceptSequence(Sequence $sequence) : void
Parameters
- $sequence : Sequence
acceptTable()
public
acceptTable(Table $table) : void
Parameters
- $table : Table