Override config-set to allow better value setting.

@param $collection
@param $key
@param $value
@return bool
10288
public function configSet($collection, $key, $value) {
    $value = base64_encode(Yaml::dump($value));

    if ($index = array_search('--format=json', $this->options)) {
      unset($this->options[$index]);
    }
    $this->options[] = '--format=yaml';
    $this->options[] = '-y';

    $pipe = "echo '$value' | base64 --decode |";

    $this->runCommand('config-set', [
      $collection, $key, '-'
    ], $pipe);

    return TRUE;
  }
49139
public function put($key, $value): CollectionInterface
    {
        return $this->wrap(function (Iterator $data) use ($key, $value) {
            $replaced = false;

            foreach ($data as $dataKey => $datum) {
                if ($key === $dataKey) {
                    yield $key => $value;
                    $replaced = true;
                } else {
                    yield $dataKey => $datum;
                }
            }

            if (!$replaced) {
                yield $key => $value;
            }
        });
    }
1162176
public static function set($key, $value){
        $oSystemSetting = SystemSettingsQuery::create()->findOneBy("key",$key);
        $oSystemSetting->setKey($key);
        $oSystemSetting->setValue($value);
        $oSystemSetting->save();
        return $value;
    }
669879
public function set(string $key, $value): KeyValueCollectionInterface
    {
        $this->keyMap[strtolower($key)] = $key;
        if ($value instanceof KeyValueCollectionInterface) {
            $value = $value->all();
        }
        $this->collection[$key] = $value;

        return $this;
    }
188631
public function setConfig($key,$value = ''){
		if(is_array($key)){
			$this->_config = array_merge($this->_config,$key);
		}
		else{
			$this->_config[$key] = $value;
		}
		$this->updateConfig();
		
		return $this;
	}
1358608
public function set($key, $value)
    {
        $this->settings[$key] = $value;
        $this->store();

        return $value;
    }
954963
public function set($key, $value)
    {
        $array = &$this->data;
        $keys = explode(self::SEPERATOR, $key);
        $i = 1;
        foreach ($keys as $item) {
            if (is_array($array) && array_key_exists($item, $array) && !is_array($array[$item]) && $i !== count($keys)) {
                return false;
            }
            $array = &$array[$item];
            $i++;
        }
        $array = $value;
        $this->save();
        return true;
    }
899005
protected function setConfig($value, $key)
    {
        $setter = 'set' . ucfirst($key);

        if (method_exists($this, $setter)) {
            $this->$setter($value);
        } elseif (property_exists($this, $key)) {
            $this->$key = $value;
        }

        return $this;
    }
121605
public function set_config($key, $value = null)
	{
		if (is_array($key))
		{
			$this->config = \Arr::merge($this->config, $key);
		}
		else
		{
			\Arr::set($this->config, $key, $value);
		}

		return $this;
	}
555720
public function setCollection($collection)
    {
        if (!$this->loaded) {
            $this->load();
        }

        $this->collectionInfo->setCollection($collection);
        return $this;
    }
767412
public function setConfig($key, $value = null)
	{
		\Arr::set($this->config, $key, $value);

		return $this;
	}
961836
public function set($key, $value)
    {
        if (is_null($value)) {
            $value = 'NULL';
        } else if (is_bool($value)) {
            $value = $value ? 'TRUE' : 'FALSE';
        }
        
        $this->set[$key] = $value;
        
        return $this;
    }
629758
protected function config($key, $value = null)
    {
        $config = $this->getDeployConfig();

        if ($value !== null) {
            $config->set($key, $value);
        } else {
            return $config->get($key);
        }

    }
119508
public function set(string $key, $value): bool
    {
        if (is_string($key) === false || $key === "") {
            return false;
        }

        $this->_configValues[$key] = $value;
        return true;
    }
207996
public function config($key, $value)
    {
        $this->arguments[] = '--config';
        $this->arguments[] = $key . '=' . $value;
        return $this;
    }
707265
public function set($key, $value)
    {
        $config = &$this->config;

        foreach (explode('.', $key) as $k) {
            $config = &$config[$k];
        }

        $config = $value;

        return true;
    }
989240
public function callSetter(&$object, $key, $value)
    {
        $method = 'set' . ucfirst($key);
        if (method_exists($object, $method)) {
            $object->$method($value);

            return true;
        }

        return false;
    }