just another orm...
View the Project on GitHub tflori/orm
» API Reference » ORM\Dbal\TypeInterface
public static function factory(
\ORM\Dbal\Dbal $dbal,
array $columnDefinition,
): \ORM\Dbal\Type
Static | This method is static. | |
Returns | ORM\Dbal\Type |
Parameter | Type | Description |
---|---|---|
$dbal |
ORM\Dbal\Dbal | |
$columnDefinition |
array |
ORM\Dbal\TypeInterface::factory
public static function fits(array $columnDefinition): bool
Static | This method is static. | |
Returns | bool |
Parameter | Type | Description |
---|---|---|
$columnDefinition |
array |
ORM\Dbal\TypeInterface::fits
public function validate(mixed $value): bool|\ORM\Dbal\Error
Returns | bool|ORM\Dbal\Error |
Parameter | Type | Description |
---|---|---|
$value |
mixed |
ORM\Dbal\TypeInterface::validate