lib/eMapper/Dynamic/Provider/EnvironmentProvider.php
public static function getEnvironment($id) {
		if (!array_key_exists($id, self::$environments))
			throw new \InvalidArgumentException("Environment with ID $id does not exists");
		
		return self::$environments[$id];
	}
public static function getEnvironment($id) {
		if (!array_key_exists($id, self::$environments))
			throw new \InvalidArgumentException("Environment with ID $id does not exists");
		
		return self::$environments[$id];
	}
public static function getEnvironment ( $ id ) { if ( ! array_key_exists ( $ id , self :: $ environments ) ) throw new \ InvalidArgumentException ( "Environment with ID $id does not exists" ) ; return self :: $ environments [ $ id ] ; }
Obtains a dynamic SQL environment instance by ID
@param string $id
@throws \InvalidArgumentException
Obtains a dynamic SQL environment instance by ID