Documentation

Column
in package
implements ColumnInterface

This is gernal class of column.

Tags
author

Eric Huang eric.huang@atelli.ai

Interfaces, Classes, Traits and Enums

ColumnInterface
This is a ColumnInterface, all column classes must implmenting this interface

Table of Contents

$name  : string
$type  : TypeInterface
__construct()  : mixed
construct
getColumnType()  : string
get column type
getDataType()  : string
get type name of data
getName()  : string
get column name
getType()  : TypeInterface
get type
validate()  : bool
validate

Properties

Methods

__construct()

construct

public __construct(string $name, TypeInterface $type) : mixed
Parameters
$name : string

name of column

$type : TypeInterface
Return values
mixed

getColumnType()

get column type

public getColumnType() : string
Return values
string

getDataType()

get type name of data

public getDataType() : string
Return values
string

getName()

get column name

public getName() : string
Return values
string

validate()

validate

public validate(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

Search results