just another orm...
View the Project on GitHub tflori/orm
» API Reference » ORM\Dbal\Type\Number
Extends: ORM\Dbal\Type
public static function factory(
\ORM\Dbal\Dbal $dbal,
array $columnDefinition,
): static
This method is only for types covered by mapping. Use fromDefinition instead for custom types.
| Static | This method is static. | |
| Returns | static |
| Parameter | Type | Description |
|---|---|---|
$dbal |
ORM\Dbal\Dbal | |
$columnDefinition |
array |
ORM\Dbal\Type\Number::factory
public static function fits(array $columnDefinition): bool
| Static | This method is static. | |
| Returns | bool |
| Parameter | Type | Description |
|---|---|---|
$columnDefinition |
array |
ORM\Dbal\Type\Number::fits
public function validate(mixed $value): bool|\ORM\Dbal\Error
| Returns | bool|ORM\Dbal\Error |
| Parameter | Type | Description |
|---|---|---|
$value |
mixed |
ORM\Dbal\Type\Number::validate