Class AlterTableDecorator

Summary

Fully Qualified Name: Zend\Db\Sql\Platform\Mysql\Ddl\AlterTableDecorator
Extends: AlterTable
Implements: PlatformDecoratorInterface

Description

Methods

Name Description Defined By
__construct() AlterTable
addColumn() AlterTable
addConstraint() AlterTable
changeColumn() AlterTable
dropColumn() AlterTable
dropConstraint() AlterTable
getRawState() AlterTable
getSqlString() {@inheritDoc} AbstractSql
setSubject() AlterTableDecorator
setTable() AlterTable

Method Details

__construct()

Parameter Name Type Description
$table string|\TableIdentifier

Returns:

addColumn()

Parameter Name Type Description
$column \Column\ColumnInterface

Returns: self Provides a fluent interface

addConstraint()

Parameter Name Type Description
$constraint \Constraint\ConstraintInterface

Returns: self Provides a fluent interface

changeColumn()

Parameter Name Type Description
$name string
$column \Column\ColumnInterface

Returns: self Provides a fluent interface

dropColumn()

Parameter Name Type Description
$name string

Returns: self Provides a fluent interface

dropConstraint()

Parameter Name Type Description
$name string

Returns: self Provides a fluent interface

getRawState()

Parameter Name Type Description
$key string|null

Returns: array

getSqlString()

{@inheritDoc}

Parameter Name Type Description
$adapterPlatform

Returns:

setSubject()

Parameter Name Type Description
$subject \AlterTable

Returns: self Provides a fluent interface

setTable()

Parameter Name Type Description
$name string

Returns: self Provides a fluent interface

Top