CodeIgniter v4.7 API

BaseCast
in package
implements CastInterface

AbstractYes
Tags
template
implements

Table of Contents

Interfaces

CastInterface
The methods work at (1)(4) only.

Methods

get()  : TPhpNativeValue
Takes a raw value from Entity, returns its value for PHP.
set()  : TEntityStoredValue
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<string|int, mixed> $params = [] ]) : TPhpNativeValue
Parameters
$value : mixed
$params : array<string|int, mixed> = []

Additional param

Return values
TPhpNativeValue

set()

Takes a PHP value, returns its raw value for Entity.

public static set(mixed $value[, array<string|int, mixed> $params = [] ]) : TEntityStoredValue
Parameters
$value : mixed
$params : array<string|int, mixed> = []

Additional param

Return values
TEntityStoredValue
On this page

Search results