Methods
__construct()
__construct(null | string $name, bool $nullable, mixed | null $default, array $options)
Parameters
$name
nullstring
$nullable
bool
$default
mixednull
$options
mixed[]
addConstraint()
addConstraint(\Zend\Db\Sql\Ddl\Constraint\ConstraintInterface $constraint) : \Zend\Db\Sql\Ddl\Column\self
Parameters
Returns
\Zend\Db\Sql\Ddl\Column\self
getDefault()
getDefault() : null | string | int
getExpressionData()
getExpressionData() : array
getName()
getName() : null | string
getOptions()
getOptions() : array
isNullable()
isNullable() : bool
setDefault()
setDefault(null | string | int $default) : \Zend\Db\Sql\Ddl\Column\self
Parameters
$default
nullstringint
Returns
\Zend\Db\Sql\Ddl\Column\self
setName()
setName(string $name) : \Zend\Db\Sql\Ddl\Column\self
Parameters
$name
string
Returns
\Zend\Db\Sql\Ddl\Column\self
setNullable()
setNullable(bool $nullable) : \Zend\Db\Sql\Ddl\Column\self
Parameters
$nullable
bool
Returns
\Zend\Db\Sql\Ddl\Column\self
setOption()
setOption(string $name, string $value) : \Zend\Db\Sql\Ddl\Column\self
Parameters
$name
string
$value
string
Returns
\Zend\Db\Sql\Ddl\Column\self
setOptions()
setOptions(array $options) : \Zend\Db\Sql\Ddl\Column\self
Parameters
$options
array
Returns
\Zend\Db\Sql\Ddl\Column\self
Properties
$default
$default : null | string | int
$isNullable
$isNullable : bool
$options
$options : array
$specification
$specification : string