set() public static method

Set the value for given key in the array with dot notation support.
public static set ( &$array, string $key, mixed $value ) : array
$key string
$value mixed
return array
Ejemplo n.º 1
0
 /**
  * @override
  * @inheritDoc
  */
 public function set($key, $value)
 {
     return ArraySupport::set($this->config, $key, $value);
 }