Method |
Description |
|
addType ( string $name, string $className ) |
Adds a custom type to the type map. |
|
convertToDatabaseValue ( mixed $value ) : mixed |
Converts a value from its PHP representation to its database representation
of this type. |
|
convertToPHPValue ( mixed $value ) : mixed |
Converts a value from its database representation to its PHP representation
of this type. |
|
getType ( string $type ) : Doctrine\ODM\MongoDB\Mapping\Types\Type |
Get a Type instance. |
|
getTypesMap ( ) : array |
Get the types array map which holds all registered types and the corresponding
type class |
|
hasType ( string $name ) : boolean |
Checks if exists support for a type. |
|
overrideType ( string $name, string $className ) |
Overrides an already defined type to use a different implementation. |
|
registerType ( string $name, string $class ) |
Register a new type in the type map. |
|