src/Arrays.php
public static function set(&$array, $key, $value)
	{
		// this allows the key to be an array of keys
		if (\Gears\Arrays\isArrayLike($key)) $key = implode('.', $key);

		return parent::set($array, $key, $value);
	}
public static function set(&$array, $key, $value)
	{
		// this allows the key to be an array of keys
		if (\Gears\Arrays\isArrayLike($key)) $key = implode('.', $key);

		return parent::set($array, $key, $value);
	}
Method: set
=========================================================================
We are overloading the parent set method so that we can accept
either an array of keys or "dot" separated keys. This should stay
compatiable with the upstream method.

For example the following 2 calls are the same:

```php
Arr::set([], 'a.b.c', 'd');
Arr::set([], ['a','b','c'], 'd');
```

Parameters:
-------------------------------------------------------------------------
$array - A refrence to the PHP array to set items in.
$key - Can be a single key, "dot" separated keys or an array of keys.
$value - The value to set.

Returns:
-------------------------------------------------------------------------
array