ColumnInfo
Read onlyYes
    FinalYes
Provides subset of column schema information compared to {@see Column} and intended to be cacheable.
This class is only for internal core usage and is not part of the public core API.
Table of Contents
Properties
- $autoincrement : bool
- $default : mixed
- $fixed : bool
- $length : int|null
- $name : string
- $notNull : bool
- $precision : int|null
- $scale : int
- $typeName : string
- $unsigned : bool
- $values : array<string|int, mixed>
Methods
- __construct() : mixed
- convertFromDoctrineColumn() : self
- Used in {@see SchemaInformation::buildTableInformation()} to transform doctrine Columns to ColumnInfo.
- getType() : Type
Properties
$autoincrement
        public
            bool
    $autoincrement
    
    
    
    
    
    
$default
        public
            mixed
    $default
    
    
    
    
    
    
$fixed
        public
            bool
    $fixed
    
    
    
    
    
    
$length
        public
            int|null
    $length
    
    
    
    
    
    
$name
        public
            string
    $name
    
    
    
    
    
    
$notNull
        public
            bool
    $notNull
    
    
    
    
    
    
$precision
        public
            int|null
    $precision
    
    
    
    
    
    
$scale
        public
            int
    $scale
    
    
    
    
    
    
$typeName
        public
            string
    $typeName
    
    
    
    
    
    
$unsigned
        public
            bool
    $unsigned
    
    
    
    
    
    
$values
        public
            array<string|int, mixed>
    $values
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(string $name, string $typeName, mixed $default, bool $notNull, int|null $length, int|null $precision, int $scale, bool $fixed, bool $unsigned, bool $autoincrement, array<string|int, string> $values) : mixed
    Parameters
- $name : string
- $typeName : string
- $default : mixed
- $notNull : bool
- $length : int|null
- $precision : int|null
- $scale : int
- $fixed : bool
- $unsigned : bool
- $autoincrement : bool
- $values : array<string|int, string>
convertFromDoctrineColumn()
Used in {@see SchemaInformation::buildTableInformation()} to transform doctrine Columns to ColumnInfo.
    public
            static        convertFromDoctrineColumn(Column $column) : self
    Parameters
- $column : Column
Return values
selfgetType()
    public
                    getType() : Type