src/EntityDescriptor/EntityDescriptor.php
public static function getType($name, &$type=null) {
		if( !isset(static::$types[$name]) ) {
			throw new Exception('unknownType_'.$name);
		}
		$type	= &static::$types[$name];
		return $type;
	}
public static function getType($name, &$type=null) {
		if( !isset(static::$types[$name]) ) {
			throw new Exception('unknownType_'.$name);
		}
		$type	= &static::$types[$name];
		return $type;
	}
public static function getType ( $ name , & $ type = null ) { if ( ! isset ( static :: $ types [ $ name ] ) ) { throw new Exception ( 'unknownType_' . $ name ) ; } $ type = & static :: $ types [ $ name ] ; return $ type ; }
Get a type by name

@param string $name Name of the type to get
@param string $type Output parameter for type
@throws Exception
@return TypeDescriptor
Get a type by name