Doctrine\ODM\MongoDB\Mapping\Types\Type::hasType PHP Метод

hasType() публичный статический Метод

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