src/DaybreakStudios/Common/Collection/Collections.php
public static function toMap(array $array) {
			$map = new SimpleMap();

			foreach ($array as $k => $v)
				$map->put($k, $v);

			return $map;
		}
public static function toMap(array $array) {
			$map = new SimpleMap();

			foreach ($array as $k => $v)
				$map->put($k, $v);

			return $map;
		}
public static function toMap ( array $ array ) { $ map = new SimpleMap ( ) ; foreach ( $ array as $ k => $ v ) $ map -> put ( $ k , $ v ) ; return $ map ; }
Converts a PHP array into a Map.

@see SimpleMap

@param  array  $array the array to convert
@return Map        	 the map built from the PHP array
Converts a PHP array into a Map .