src/Env.php
public function set($collection, $value = null)
    {
        if (func_num_args() === 1) {
            return parent::merge($collection, true);
        }
        $this->_data[$collection] = $value;
        return $this;
    }
public function set($collection, $value = null)
    {
        if (func_num_args() === 1) {
            return parent::merge($collection, true);
        }
        $this->_data[$collection] = $value;
        return $this;
    }
public function set ( $ collection , $ value = null ) { if ( func_num_args ( ) === 1 ) { return parent :: merge ( $ collection , true ) ; } $ this -> _data [ $ collection ] = $ value ; return $ this ; }
Sets an array of variables.

@param string $collection   The key.
@param mixed  $value The value.
@param self
Sets an array of variables .