public static function fromKeys($keys)
    {
        $hash = new static();
        foreach ($keys as $key) {
            $hash[$key] = null;
        }

        return $hash;
    }
public static function fromKeys($keys)
    {
        $hash = new static();
        foreach ($keys as $key) {
            $hash[$key] = null;
        }

        return $hash;
    }
public static function fromKeys ( $ keys ) { $ hash = new static ( ) ; foreach ( $ keys as $ key ) { $ hash [ $ key ] = null ; } return $ hash ; }
Constructs a Hash with the passed keys.

@param Traversable $keys

@return static
Constructs a Hash with the passed keys .