Class \Prado\Data\SqlMap\DataMapper\TSqlMapTypeHandlerRegistry
TTypeHandlerFactory provides type handler classes to convert database field type
to PHP types and vice versa.
Class hierarchy
Author: Wei Zhuo <weizho[at]gmail[dot]com>Since: 3.1
public
|
convertToType(string $type, mixed $value) : mixed
Converts the value to given type using PHP's settype() function.
|
public
|
createInstanceOf([string $type = '' ]) : mixed
Creates a new instance of a particular class (for PHP primative types,
their corresponding default value for given type is used).
|
public
|
|
public
|
|
public
|
|