CastInterface
in
The methods work at (1)(4) only.
[App Code] --- (1) --> [Entity] --- (2) --> [Database] [App Code] <-- (4) --- [Entity] <-- (3) --- [Database]
Table of Contents
Methods
- get() : mixed
- Takes a raw value from Entity, returns its value for PHP.
- set() : mixed
- Takes a PHP value, returns its raw value for Entity.
Methods
get()
Takes a raw value from Entity, returns its value for PHP.
public
static get(mixed $value[, array<int, string> $params = [] ]) : mixed
Parameters
- $value : mixed
-
Data
- $params : array<int, string> = []
-
Additional param
set()
Takes a PHP value, returns its raw value for Entity.
public
static set(mixed $value[, array<int, string> $params = [] ]) : mixed
Parameters
- $value : mixed
-
Data
- $params : array<int, string> = []
-
Additional param