Skip to content

BaseColumn

  • Full name: \Qubus\Expressive\Schema\BaseColumn

Properties

name

protected ?string $name

type

protected ?string $type

properties

protected array $properties

Methods

__construct

public __construct(string $name, ?string $type = null): mixed

Parameters:

Parameter Type Description
$name string
$type ?string

getName

public getName(): string

getType

public getType(): string

getProperties

public getProperties(): array

setType

public setType(string $type): $this

Parameters:

Parameter Type Description
$type string

set

public set(string $name, mixed $value): $this

Parameters:

Parameter Type Description
$name string
$value mixed

has

public has(string $name): bool

Parameters:

Parameter Type Description
$name string

get

public get(string $name, mixed|null $default = null): mixed|null

Parameters:

Parameter Type Description
$name string
$default mixed|null

size

public size(string $value): $this

Parameters:

Parameter Type Description
$value string

notNull

public notNull(): $this

description

public description(string $comment): $this

Parameters:

Parameter Type Description
$comment string

defaultValue

public defaultValue(mixed $value): $this

Parameters:

Parameter Type Description
$value mixed

unsigned

public unsigned(bool $value = true): $this

Parameters:

Parameter Type Description
$value bool

length

public length(mixed $value): $this

Parameters:

Parameter Type Description
$value mixed


Automatically generated on 2025-10-13