public static function getComposerModule($className)
	{
		global $Composer;
		
		if ( $result = $Composer->findFile($className) ) {
			$result = substr($result, strlen(self::$root));
			
			if ( preg_match('#^vendor/([a-z0-9_-]+/[a-z0-9_-]+)/#', $result, $match) ) {
				return $match[1];
			}
		}
		
		return null;
	}
public static function getComposerModule($className)
	{
		global $Composer;
		
		if ( $result = $Composer->findFile($className) ) {
			$result = substr($result, strlen(self::$root));
			
			if ( preg_match('#^vendor/([a-z0-9_-]+/[a-z0-9_-]+)/#', $result, $match) ) {
				return $match[1];
			}
		}
		
		return null;
	}
public static function getComposerModule ( $ className ) { global $ Composer ; if ( $ result = $ Composer -> findFile ( $ className ) ) { $ result = substr ( $ result , strlen ( self :: $ root ) ) ; if ( preg_match ( '#^vendor/([a-z0-9_-]+/[a-z0-9_-]+)/#' , $ result , $ match ) ) { return $ match [ 1 ] ; } } return null ; }
Return the name of the composer module where a given class lives.
@param string Class name
@return mixed String if it lives in a module, or null if the root
Return the name of the composer module where a given class lives .