PHP Class Storm\Drivers\Base\Relational\Syncing\DatabaseModifier

Inheritance: implements Storm\Drivers\Base\Relational\Syncing\IDatabaseModifier
ファイルを表示 Open project: timetoogo/penumbra Class Usage Examples

Public Methods

Method Description
AddColumn ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, Column $Column, Column $PreviousColumn = null )
AddTableTrait ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, TableTrait $Trait )
CreateTableStructure ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table )
DropColumn ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, Column $Column )
DropTable ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table )
DropTableTrait ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, TableTrait $Trait )
ModifyColumn ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, Column $Column, Column $PreviousColumn = null )
__construct ( Storm\Drivers\Base\Relational\Syncing\Traits\ITableTraitManager $TableTraitManger, Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager $ColumnTraitManager )

Protected Methods

Method Description
AppendAddColumnQuery ( QueryBuilder $QueryBuilder, Table $Table, Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager $ColumnTraitManager, Column $Column, Column $PreviousColumn = null )
AppendCreateTableStructureQuery ( QueryBuilder $QueryBuilder, Storm\Drivers\Base\Relational\Syncing\Traits\ITableTraitManager $TableTraitManager, Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager $ColumnTraitManager, Table $Table )
AppendDropColumnQuery ( QueryBuilder $QueryBuilder, Table $Table, Column $Column )
AppendDropTableQuery ( QueryBuilder $QueryBuilder, Table $Table )
AppendModifyColumnQuery ( QueryBuilder $QueryBuilder, Table $Table, Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager $ColumnTraitManager, Column $Column, Column $PreviousColumn = null )

Method Details

AddColumn() final public method

final public AddColumn ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, Column $Column, Column $PreviousColumn = null )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table
$Column Storm\Drivers\Base\Relational\Columns\Column
$PreviousColumn Storm\Drivers\Base\Relational\Columns\Column

AddTableTrait() final public method

final public AddTableTrait ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, TableTrait $Trait )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table
$Trait Storm\Drivers\Base\Relational\TableTrait

AppendAddColumnQuery() abstract protected method

abstract protected AppendAddColumnQuery ( QueryBuilder $QueryBuilder, Table $Table, Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager $ColumnTraitManager, Column $Column, Column $PreviousColumn = null )
$QueryBuilder Storm\Drivers\Base\Relational\Queries\QueryBuilder
$Table Storm\Drivers\Base\Relational\Table
$ColumnTraitManager Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager
$Column Storm\Drivers\Base\Relational\Columns\Column
$PreviousColumn Storm\Drivers\Base\Relational\Columns\Column

AppendCreateTableStructureQuery() abstract protected method

abstract protected AppendCreateTableStructureQuery ( QueryBuilder $QueryBuilder, Storm\Drivers\Base\Relational\Syncing\Traits\ITableTraitManager $TableTraitManager, Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager $ColumnTraitManager, Table $Table )
$QueryBuilder Storm\Drivers\Base\Relational\Queries\QueryBuilder
$TableTraitManager Storm\Drivers\Base\Relational\Syncing\Traits\ITableTraitManager
$ColumnTraitManager Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager
$Table Storm\Drivers\Base\Relational\Table

AppendDropColumnQuery() abstract protected method

abstract protected AppendDropColumnQuery ( QueryBuilder $QueryBuilder, Table $Table, Column $Column )
$QueryBuilder Storm\Drivers\Base\Relational\Queries\QueryBuilder
$Table Storm\Drivers\Base\Relational\Table
$Column Storm\Drivers\Base\Relational\Columns\Column

AppendDropTableQuery() abstract protected method

abstract protected AppendDropTableQuery ( QueryBuilder $QueryBuilder, Table $Table )
$QueryBuilder Storm\Drivers\Base\Relational\Queries\QueryBuilder
$Table Storm\Drivers\Base\Relational\Table

AppendModifyColumnQuery() abstract protected method

abstract protected AppendModifyColumnQuery ( QueryBuilder $QueryBuilder, Table $Table, Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager $ColumnTraitManager, Column $Column, Column $PreviousColumn = null )
$QueryBuilder Storm\Drivers\Base\Relational\Queries\QueryBuilder
$Table Storm\Drivers\Base\Relational\Table
$ColumnTraitManager Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager
$Column Storm\Drivers\Base\Relational\Columns\Column
$PreviousColumn Storm\Drivers\Base\Relational\Columns\Column

CreateTableStructure() final public method

final public CreateTableStructure ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table

DropColumn() final public method

final public DropColumn ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, Column $Column )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table
$Column Storm\Drivers\Base\Relational\Columns\Column

DropTable() final public method

final public DropTable ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table

DropTableTrait() final public method

final public DropTableTrait ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, TableTrait $Trait )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table
$Trait Storm\Drivers\Base\Relational\TableTrait

ModifyColumn() final public method

final public ModifyColumn ( Storm\Drivers\Base\Relational\Queries\IConnection $Connection, Table $Table, Column $Column, Column $PreviousColumn = null )
$Connection Storm\Drivers\Base\Relational\Queries\IConnection
$Table Storm\Drivers\Base\Relational\Table
$Column Storm\Drivers\Base\Relational\Columns\Column
$PreviousColumn Storm\Drivers\Base\Relational\Columns\Column

__construct() public method

public __construct ( Storm\Drivers\Base\Relational\Syncing\Traits\ITableTraitManager $TableTraitManger, Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager $ColumnTraitManager )
$TableTraitManger Storm\Drivers\Base\Relational\Syncing\Traits\ITableTraitManager
$ColumnTraitManager Storm\Drivers\Base\Relational\Syncing\Traits\IColumnTraitManager