Doctrine\ODM\MongoDB\Mapping\Types\Type::hasType PHP Method

hasType() public static method

Checks if exists support for a type.
public static hasType ( string $name ) : boolean
$name string Name of the type
return boolean TRUE if type is supported; FALSE otherwise
    public static function hasType($name)
    {
        return isset(self::$typesMap[$name]);
    }