class TableBlueprint extends Blueprint

Extended Blueprint with column prototypes

Methods

array
getCommands()

Get commands

array
getColumns()

Get columns

void
prototype(string $name, mixed|null $options = null)

Build column blueprint prototype

void
tablePrototype(string $name, mixed|null $options = null)

Build table blueprint prototype

void
buildPrototype(string $class, mixed $options)

Build blueprint prototype

string
resolveColumnPrototypeClass(string $name)

Resolve column prototype class name

void
__call(string $name, array $arguments)

Call prototype method

Details

at line 26
array getCommands()

Get commands

Return Value

array

at line 36
array getColumns()

Get columns

Return Value

array

at line 48
void prototype(string $name, mixed|null $options = null)

Build column blueprint prototype

Parameters

string $name
mixed|null $options

Return Value

void

at line 61
void tablePrototype(string $name, mixed|null $options = null)

Build table blueprint prototype

Parameters

string $name
mixed|null $options

Return Value

void

at line 74
protected void buildPrototype(string $class, mixed $options)

Build blueprint prototype

Parameters

string $class
mixed $options

Return Value

void

at line 91
protected string resolveColumnPrototypeClass(string $name)

Resolve column prototype class name

Parameters

string $name

Return Value

string

at line 112
void __call(string $name, array $arguments)

Call prototype method

Parameters

string $name
array $arguments

Return Value

void