src/Robo/Common/ArrayManipulator.php
public static function expandFromDotNotatedKeys(array $array) {
    $data = new Data();

    // @todo Make this work at all levels of array.
    foreach ($array as $key => $value) {
      $data->set($key, $value);
    }

    return $data->export();
  }
public static function expandFromDotNotatedKeys(array $array) {
    $data = new Data();

    // @todo Make this work at all levels of array.
    foreach ($array as $key => $value) {
      $data->set($key, $value);
    }

    return $data->export();
  }
public static function expandFromDotNotatedKeys ( array $ array ) { $ data = new Data ( ) ; // @todo Make this work at all levels of array. foreach ( $ array as $ key => $ value ) { $ data -> set ( $ key , $ value ) ; } return $ data -> export ( ) ; }
Converts dot-notated keys to proper associative nested keys.

E.g., [drush.alias => 'self'] would be expanded to
['drush' => ['alias' => 'self']]

@param array $array
The array containing unexpanded dot-notated keys.

@return array
The expanded array.
Converts dot - notated keys to proper associative nested keys .