src/Collection/Dictionary.php
public static function fromKeys($keys){
        $hash = new Dictionary();
        foreach($keys as $key){
            $hash[$key] = NULL;
        }
        return $hash;
    }
public static function fromKeys($keys){
        $hash = new Dictionary();
        foreach($keys as $key){
            $hash[$key] = NULL;
        }
        return $hash;
    }
public static function fromKeys ( $ keys ) { $ hash = new Dictionary ( ) ; foreach ( $ keys as $ key ) { $ hash [ $ key ] = NULL ; } return $ hash ; }
Constructs a Hash with the passed keys

@param Traversable $keys
@return Dictionary
Constructs a Hash with the passed keys