Add some new parameter to the list of parameters

@example $this->add('client')->add('remote', 'vpn.example.com');
@param   string $name Name of parameter
@param   string|bool|null $value Value of parameter
@return  ConfigInterface
559800
public function add(string $name, $value = null): ConfigInterface
    {
        $name = mb_strtolower($name);

        // Check if key is certificate or push, or classic parameter
        if (\in_array($name, self::CERTS, true)) {
            $this->addCert($name, $value);
        } elseif ($name === 'push') {
            $this->addPush($value);
        } else {
            $this->_params[$name] = $this->isBool($value);
        }

        return $this;
    }
39035
public function withParameter($name, $value) {

            $query = clone $this;
            $query->setParameter($name, $value);

            return $query;

        }
630507
public function add($name, $value = null, $where = '')
    {
        if (!$this->has($name)) {
            $this->set($name, $value, $where);
        }

        return $this;
    }
1006360
public function addHeader($name, $value, $params = null)
    {
        if (is_array($params)) {
            $this->message->getHeaders()->addParameterizedHeader($name, $value, $params);
        } else {
            $this->message->getHeaders()->addTextHeader($name, $value);
        }

        return $this;
    }
177025
public function put($name, $value = null)
    {
        if ($name == []) {
            return $this;
        }

        $newValues = $name;

        if (! is_array($name)) {
            $newValues = [$name => $value];
        }

        $newContent = array_merge($this->all(), $newValues);

        $this->setContent($newContent);

        return $this;
    }
1261084
public function addQueryParameter($name, $value)
    {
        Validate::isString($name, 'name');
        Validate::isString($value, 'value');

        $this->_queryParams[$name] = $value;
    }
936837
public function addHeader($name, $value, $params = null)
    {
        $this->message->addHeader($name, $value);

        return $this;
    }
210954
public function set($name, $value) {
		\Asgard\Common\ArrayUtils::set($this->parameters, $name, $value);
		return $this;
	}
1058140
public function setParam($name, $value): self
    {
        if (null === $name) {
            throw new \InvalidArgumentException('The argument name cannot be null.');
        }

        $this->params[$name] = $value;

        return $this;
    }
590008
protected function setParam($name, $value) {
        $params = $this->getParams();
        $params->$name = $value;
        $this->setParams($params);
    }
86220
public function addHeader(string $name, string $value) : self
    {
        $name = $this->normalizeHeader($name);
        if (isset($this->headers[$name])) {
            throw new \InvalidArgumentException(
                sprintf("Header %s is already set with value '%s'", $name, $this->headers[$name])
            );
        }

        $this->headers[$name] = $value;

        return $this;
    }
251067
public function set($name, $value)
    {
        //If it's an object, save its ID as the parameter
        if(is_object($value) && method_exists($value, 'getId'))
        {
            $this->parameters[$name] = $value->getId();
        }

        //Just save the parameter
        else
        {
            $this->parameters[$name] = $value;
        }

        return $this;
    }
383961
public static function insert(String $name = NULL, $value = NULL) : Bool
    {
        $name  = self::$settings['name']  ?? $name;
        $input = self::$settings['input'] ?? false;
        $value = self::$settings['value'] ?? $value;

        self::$settings = [];

        return Method::$input($name, $value);
    }
521809
public function add($name, $value)
    {
        $config = $this->option($name);
        list($key, $extra) = $this->_splitOptionName($name);

        if ($config['array']) {
            $this->_values[$key][$extra][] = $value;
        } else {
            $this->set($name, $value);
        }
        return $this->_values[$key][$extra];
    }
1324028
public function setQueryParameter($name, $value)
    {
        $this->query_array[$name] = $value;
        $this->query = http_build_query($this->query_array);
        return $this;
    }
1310417
public function option($name, $value = null)
    {
        $value = null === $value ? '': $value;

        $prefix = strlen($name) == 1 ? '-' : '--';
        $this->add($prefix . $name);

        if (null !== $value) {
            $this->add($value);
        }

        return $this;
    }
961253
public function addParam($name, $value)
    {
        if (!empty($name) && !empty($value)) {
            $this->params[stripslashes(trim($name))] = stripslashes(trim($value));
        }
    }