just another orm...
View the Project on GitHub tflori/orm
» API Reference » ORM\Dbal\Column
public function __construct(\ORM\Dbal\Dbal $dbal, array $columnDefinition)
| Parameter | Type | Description |
|---|---|---|
$dbal |
ORM\Dbal\Dbal | |
$columnDefinition |
array |
ORM\Dbal\Column::__construct
public function __get(string $name): mixed
| Returns | mixed |
| Parameter | Type | Description |
|---|---|---|
$name |
string |
ORM\Dbal\Column::__get
public function getDefault(): mixed
| Returns | mixed |
ORM\Dbal\Column::getDefault
public function getName(): string
| Returns | string |
ORM\Dbal\Column::getName
public function getNullable(): bool
| Returns | bool |
ORM\Dbal\Column::getNullable
public function getType(): \ORM\Dbal\Type
| Returns | ORM\Dbal\Type |
ORM\Dbal\Column::getType
public function hasDefault(): bool
| Returns | bool |
ORM\Dbal\Column::hasDefault
public function isNullable(): bool
| Returns | bool |
ORM\Dbal\Column::isNullable
public static function registerType(string $type): mixed
| Static | This method is static. | |
| Returns | mixed |
| Parameter | Type | Description |
|---|---|---|
$type |
string | The full qualified class name |
ORM\Dbal\Column::registerType
public function validate(mixed $value): bool|\ORM\Dbal\Error
| Returns | bool|ORM\Dbal\Error |
| Parameter | Type | Description |
|---|---|---|
$value |
mixed |
ORM\Dbal\Column::validate