final class MysqlField (View source)

Methods

__construct(string $name, string|int $type, int $maxLength, bool $primaryKey, mixed $default)
string
name()
string
string|int
type()
string|int
int
int
bool
bool
mixed
mixed
object

CI-compatible shape.

object
array
array

Details

__construct

__construct(string $name, string|int $type, int $maxLength, bool $primaryKey, mixed $default)

No description

Parameters

string $name
string|int $type
int $maxLength
bool $primaryKey
mixed $default

name

string name()

No description

Return Value

string

type

string|int type()

No description

Return Value

string|int

maxLength

int maxLength()

No description

Return Value

int

primaryKey

bool primaryKey()

No description

Return Value

bool

default

mixed default()

No description

Return Value

mixed

toObject

object toObject()

CI-compatible shape.

Return Value

object

toArray

array toArray()

No description

Return Value

array