src/Arrays/Fluent.php
public function get($key, $default = null)
	{
		// Get the keys array
		if (is_string($key))
		{
			// We found the key in the root of the array
			if ($this->offsetExists($key))
			{
				return $this->offsetGet($key);
			}

			$keys = explode('.', $key);
		}
		elseif (isArrayLike($key))
		{
			$keys = $key;
		}
		else
		{
			// Bail Out - we need a key
			// NOTE: value()_is a laravel helper
			return value($default);
		}

		// Start searching in the root of the array
		$array = $this->items;

		// Loop through the keys
		foreach ($keys as $x)
		{
			// Check to see if the key exists
			if (!isArrayLike($array) || !array_key_exists($x, $array))
			{
				// Bail out and return the default.
				// NOTE: value() is a laravel helper.
				return value($default);
			}

			// Keep recursing into the array
			$array = $array[$x];
		}

		if (is_array($array))
		{
			$value = new static($array);
			$this->set($key, $value);
		}
		else
		{
			$value = $array;
		}
		
		// Return the value
		return $value;
	}
public function get($key, $default = null)
	{
		// Get the keys array
		if (is_string($key))
		{
			// We found the key in the root of the array
			if ($this->offsetExists($key))
			{
				return $this->offsetGet($key);
			}

			$keys = explode('.', $key);
		}
		elseif (isArrayLike($key))
		{
			$keys = $key;
		}
		else
		{
			// Bail Out - we need a key
			// NOTE: value()_is a laravel helper
			return value($default);
		}

		// Start searching in the root of the array
		$array = $this->items;

		// Loop through the keys
		foreach ($keys as $x)
		{
			// Check to see if the key exists
			if (!isArrayLike($array) || !array_key_exists($x, $array))
			{
				// Bail out and return the default.
				// NOTE: value() is a laravel helper.
				return value($default);
			}

			// Keep recursing into the array
			$array = $array[$x];
		}

		if (is_array($array))
		{
			$value = new static($array);
			$this->set($key, $value);
		}
		else
		{
			$value = $array;
		}
		
		// Return the value
		return $value;
	}
Method: get
=========================================================================
Get an item from the collection by key.

For example:

```php
$data = Arr::a(['a' => ['b' => ['c' => 'd']]]);
echo $data->get('a.b.c'); // outputs: d
```

Parameters:
-------------------------------------------------------------------------
$key - Can be a single key, "dot" separated keys or an array of keys.
$default - What value would you like to have returned on failure?

Returns:
-------------------------------------------------------------------------
mixed