Doctrine\ODM\MongoDB\Mapping\Types\Type::registerType PHP Méthode

registerType() public static méthode

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;
    }