Exemplo n.º 1
0
 /**
  * Set an array item to a given value using "dot" notation.
  *
  * If no key is given to the method, the entire array will be replaced.
  *
  * @param  array   $array
  * @param  string  $key
  * @param  mixed   $value
  * @return array
  */
 function array_set(&$array, $key, $value)
 {
     return Arr::set($array, $key, $value);
 }