Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Doctrine
ODM
MongoDB
Mapping
Types
Type
registerType
Doctrine\ODM\MongoDB\Mapping\Types\Type::registerType PHP Method
Type Class Documentation
ファイルを表示
Open project: pmjones/php-framework-benchmarks
registerType()
public
static
method
Register a new type in the type map.
public
static
registerType
(
string
$name
,
string
$class
)
$name
string
The name of the type.
$class
string
The class name.
public static function registerType($name, $class) { self::$typesMap[$name] = $class; }
Type
addType
convertToDatabaseValue
convertToPHPValue
getType
getTypesMap
hasType
overrideType
registerType