refactoring for dependency injection.
This commit is contained in:
@@ -9,11 +9,6 @@ class Arr {
|
||||
* also be accessed using JavaScript "dot" style notation. Retrieving items nested
|
||||
* in multiple arrays is also supported.
|
||||
*
|
||||
* <code>
|
||||
* // Returns "taylor"
|
||||
* Arr::get(array('name' => array('is' => 'Taylor')), 'name.is');
|
||||
* </code>
|
||||
*
|
||||
* @param array $array
|
||||
* @param string $key
|
||||
* @param mixed $default
|
||||
@@ -47,11 +42,6 @@ class Arr {
|
||||
*
|
||||
* Like the Arr::get method, JavaScript "dot" syntax is supported.
|
||||
*
|
||||
* <code>
|
||||
* // Set "name.is" to "taylor"
|
||||
* Arr::set(array('name' => array('is' => 'something')), 'name.is', 'taylor');
|
||||
* </code>
|
||||
*
|
||||
* @param array $array
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
|
||||
Reference in New Issue
Block a user