Set config

@param string $identifier Parameter name.
@param mixed  $value      Value to set

@return self
973895
public function set($identifier, $value)
    {
        $this->internalSet($this->configsContainer, $identifier, $value);

        return $this;
    }
864730
public static function set($identifier, $value)
    {
        list($hash, $keys) = self::_parseIdentifier($identifier);

        // Add to _REQUEST hash if original hash is get, post, or cookies
        if (in_array($hash, array('GET', 'POST', 'COOKIE'))) {
            self::set('request.'.implode('.', $keys), $value);
        }

        // Store cookies persistently
        if ($hash == 'COOKIE' && strpos(AnRequest::scheme(), 'http') !== false) {
            // rewrite the $keys as foo[bar][bar]
            $ckeys = $keys; // get a copy
            $name = array_shift($ckeys);
            foreach ($ckeys as $ckey) {
                $name .= '['.$ckey.']';
            }

            if (! setcookie($name, $value)) {
                throw new AnRequestException("Couldn't set cookie, headers already sent.");
            }
        }

        // Store in $GLOBALS
        foreach (array_reverse($keys, true) as $key) {
            $value = array($key => $value);
        }

        // Add the global if it's doesn't exist
        if (! isset($GLOBALS['_'.$hash])) {
            $GLOBALS['_'.$hash] = array();
        }

        $GLOBALS['_'.$hash] = AnHelperArray::merge($GLOBALS['_'.$hash], $value);
    }
780314
public function replace($identifier, $value)
    {
        $this->load();

        parent::replace($identifier, $value);
        $this->getDrupalCommonConnector()->variable_set($this->section, $this->registry[$this->section]);
    }
1160436
public function set($key, $value = null)
    {
        $data = is_array($key) ? $key : [$key => $value];

        foreach ($data as $key => $value) {
            Arr::set($this->config, $key, is_array($value) ? new self($value) : $value);
        }

        return $this;
    }
385217
public function setFlash($identifier, $value) {
		$this->arraySet(self::$_data, '_session_class._flash.' . $this->section . '.' . $identifier, $value);
	}
1256594
public function setSetting( string $name, $value ): self
	{
		if (in_array($name, self::SETTINGS_INIT_ONLY))
			throw new SettingsException("Settings option '$name' can only be set on initialization of the library.");

		$this->settings[$name] = $value;
		return $this;
	}
172526
public function set($identifier, $value) {
		$this->arraySet(self::$_data, '_session_class._standard.' . $this->section . '.' . $identifier, $value);
	}
182882
public static function setConfig($identifier, array $config)
    {
        $objIdentifier = self::getIdentifier($identifier);
        $strIdentifier = (string) $objIdentifier;

        if (isset(self::$_configs[$strIdentifier])) {
            self::$_configs[$strIdentifier] = self::$_configs[$strIdentifier]->append($config);
        } else {
            self::$_configs[$strIdentifier] = new AnConfig($config);
        }
    }
505535
public function setConfig( $param, $value )
	{
		$dn = new DotNotation($this->configs);
		$dn->set($param, $value);
		$this->configs = $dn->getValues();
	}
358313
public function setIdentifier($identifier)
    {
        if (is_string($identifier)) {
            $this->identifier = $identifier;
        } else {
            throw new \InvalidArgumentException(
                "Invalid type '" . gettype($identifier). "' for argument 'identifier' given."
            );
        }
    }
485824
public function setIdentifier($identifier) {

		if(false === is_array($identifier)) {
			$identifier = [$identifier];
		}

		$this -> identifier = $identifier;
	}
716004
public function setConfig($key = null, $value = null)
    {
        if ($key == null || $value == null) {
            return null;
        }
        return ($this->config[$key] = $value);
    }
1111065
function setParameter($name, $value)
    {
        $this->name = $name;
        $this->value = $value;

        return $this;
    }
490091
public function setIdentifier($identifier) {
		parent::setIdentifier($identifier);
		if($this->content instanceof HtmlLink){
			$this->content->setIdentifier("link-".$identifier);
		}
	}
91630
public function setParams($value)
    {
        if (!is_array($value)) {
            return $this;
        }

        foreach ($value as $identifier => $param) {
            $this->setParam($identifier, $param);
        }

        return $this;
    }
817304
public function setDeidentifyConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\DeidentifyConfig::class);
        $this->deidentify_config = $var;

        return $this;
    }
1302645
public function setConfig($name, $value)
    {
        if (property_exists($this, 'client_'.$name) && !empty($value)) {
            $name = 'client_'.$name;
            $this->$name = $value;
        }

        return $this;
    }