extends |
AbstractAsset |
---|
Object representation of a database column.
Methods | ||
---|---|---|
public
|
__construct(string $name, Type $type, mixed[] $options = [])
|
# |
public
|
setOptions(mixed[] $options): Column
|
# |
public
|
setType(Type $type): Column
|
# |
public
|
setLength(int|null $length): Column
|
# |
public
|
setPrecision(int $precision): Column
|
# |
public
|
setScale(int $scale): Column
|
# |
public
|
setUnsigned(bool $unsigned): Column
|
# |
public
|
setFixed(bool $fixed): Column
|
# |
public
|
setNotnull(bool $notnull): Column
|
# |
public
|
setDefault(mixed $default): Column
|
# |
public
|
setPlatformOptions(mixed[] $platformOptions): Column
|
# |
public
|
setPlatformOption(string $name, mixed $value): Column
|
# |
public
|
setColumnDefinition(string $value): Column
|
# |
public
|
getType(): Type
|
# |
public
|
getLength(): int|null
|
# |
public
|
getPrecision(): int
|
# |
public
|
getScale(): int
|
# |
public
|
getUnsigned(): bool
|
# |
public
|
getFixed(): bool
|
# |
public
|
getNotnull(): bool
|
# |
public
|
getDefault(): string|null
|
# |
public
|
getPlatformOptions(): mixed[]
|
# |
public
|
hasPlatformOption(string $name): bool
|
# |
public
|
getPlatformOption(string $name): mixed
|
# |
public
|
getColumnDefinition(): string|null
|
# |
public
|
getAutoincrement(): bool
|
# |
public
|
setAutoincrement(bool $flag): Column
|
# |
public
|
setComment(string|null $comment): Column
|
# |
public
|
getComment(): string|null
|
# |
public
|
setCustomSchemaOption(string $name, mixed $value): Column
|
# |
public
|
hasCustomSchemaOption(string $name): bool
|
# |
public
|
getCustomSchemaOption(string $name): mixed
|
# |
public
|
setCustomSchemaOptions(mixed[] $customSchemaOptions): Column
|
# |
public
|
getCustomSchemaOptions(): mixed[]
|
# |
public
|
toArray(): mixed[]
|
# |
Methods inherited from Doctrine\DBAL\Schema\AbstractAsset |
---|
isInDefaultNamespace(), getNamespaceName(), getShortestName(), getFullQualifiedName(), isQuoted(), getName(), getQuotedName() |