public static function expand(array $set) {
        $data = array();

        foreach ($set as $key => $value) {
            $data = static::insert($data, $key, $value);
        }

        return $data;
    }
public static function expand(array $set) {
        $data = array();

        foreach ($set as $key => $value) {
            $data = static::insert($data, $key, $value);
        }

        return $data;
    }
public static function expand ( array $ set ) { $ data = array ( ) ; foreach ( $ set as $ key => $ value ) { $ data = static :: insert ( $ data , $ key , $ value ) ; } return $ data ; }
Expand an array to a fully workable multi-dimensional array, where the values key is a dot notated path.

@param array $set
@return array
Expand an array to a fully workable multi - dimensional array where the values key is a dot notated path .