Column
in package
implements
Annotation
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $columnDefinition : string|null
- $length : int|null
- $name : string|null
- $nullable : bool
- $options : array<string, mixed>
- $precision : int|null
- The precision for a decimal (exact numeric) column (Applies only for decimal column).
- $scale : int|null
- The scale for a decimal (exact numeric) column (Applies only for decimal column).
- $type : mixed
- $unique : bool
- __construct() : mixed
Properties
$columnDefinition
public
string|null
$columnDefinition
$length
public
int|null
$length
$name
public
string|null
$name
$nullable
public
bool
$nullable
= false
$options
public
array<string, mixed>
$options
= []
$precision
The precision for a decimal (exact numeric) column (Applies only for decimal column).
public
int|null
$precision
= 0
$scale
The scale for a decimal (exact numeric) column (Applies only for decimal column).
public
int|null
$scale
= 0
$type
public
mixed
$type
$unique
public
bool
$unique
= false
Methods
__construct()
public
__construct([string|null $name = null ][, string|null $type = null ][, int|null $length = null ][, int|null $precision = null ][, int|null $scale = null ][, bool $unique = false ][, bool $nullable = false ][, array<string, mixed> $options = [] ][, string|null $columnDefinition = null ]) : mixed
Parameters
- $name : string|null = null
- $type : string|null = null
- $length : int|null = null
- $precision : int|null = null
- $scale : int|null = null
- $unique : bool = false
- $nullable : bool = false
- $options : array<string, mixed> = []
- $columnDefinition : string|null = null