Class: IntCast
Full name: Azera\Orm\Casting\IntCast
Public methods
encode() ·
public function encode(mixed $value): mixed
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$value |
mixed | - |
Return value
- Type:
mixed
decode() ·
public function decode(mixed $value): int|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$value |
mixed | - |
Return value
- Type:
int|null