IntBoolCast
extends BaseCast
in package
FinalYes
Int Bool Cast
DB column: int (0/1) <--> Class property: bool
Table of Contents
Methods
- get() : array<string|int, mixed>|bool|float|int|object|string|null
- Get
- set() : array<string|int, mixed>|bool|float|int|object|string|null
- Set
Methods
get()
Get
public
static get(int $value[, array<string|int, mixed> $params = [] ]) : array<string|int, mixed>|bool|float|int|object|string|null
Parameters
- $value : int
- $params : array<string|int, mixed> = []
-
Additional param
Return values
array<string|int, mixed>|bool|float|int|object|string|nullset()
Set
public
static set(bool|int|string $value[, array<string|int, mixed> $params = [] ]) : array<string|int, mixed>|bool|float|int|object|string|null
Parameters
- $value : bool|int|string
- $params : array<string|int, mixed> = []
-
Additional param