Set a parameter.
@param  string $path
@param  mixed  $value
168929
public function set($path, $value) {
		\Asgard\Common\ArrayUtils::set($this->params, $path, $value);
	}
227390
public function setPath(string $path)
    {
        $info = pathinfo($path);

        $this->setLocation($info["dirname"] ?? "");
        $this->setName($info["filename"] ?? "");
    }
1298087
public function setPropertyByPath($path, $value)
    {
        $this->properties = Arrays::setValueByPath($this->properties, $path, $value);
    }
597526
public function set($path, $value)
    {
        $this->callAtPath($path, function(&$offset) use ($value) {
            $offset = $value;
        }, true);

        return $this;
    }
55070
public function set ($path, $value) {
		list ($first, $rest) = self::getFirstAndRestPathElements($path);

		# If we are going still deeper...
		if (!is_null($rest)) {
			if (!array_key_exists($first, $this -> data)) {
				$this -> applyValue($first, array());
			} else if (!($this -> data[$first] instanceof MutableTreeInterface)) {
				throw new InvalidKeyException("Value at key `" . $first . "` is a scalar; cannot step further down the requested path `" . $rest . "`");
			}

			/** @var MutableTreeInterface $tree */
			$tree = $this -> data[$first];

			$tree -> set($rest, $value);
		} else {
			$this -> applyValue($first, $value);
		}

		return $this;
	}
1113064
static function set( $key, $value ) {
        $me = self::getInstance();
        $me->parameters[$key] = $value;
    }
1214624
public static function set(array $set, $path, $value = null) {
        if (is_array($path)) {
            foreach ($path as $key => $value) {
                $set = static::insert($set, $key, $value);
            }
        } else {
            $set = static::insert($set, $path, $value);
        }

        return $set;
    }
1333482
public function setParameter(string $parameter, string $value): self
    {
        $this->parameters[$parameter] = $value;

        return $this;
    }
35339
public function offsetSet($path, $value)
	{
		if (is_null($path)) {
			$this->items[] = $value;
		} else {
			Arr::set($this->items, $this->keyFor($path), $value);
		}
	}
1111065
function setParameter($name, $value)
    {
        $this->name = $name;
        $this->value = $value;

        return $this;
    }
100774
public function setParam($name, $value)
	{
		if (null === $this->params)
		{
			$this->params = $this->loadParams();
		}

		$this->params->set($name, $value);

		return $this;
	}
479113
public function store($path, $value)
    {
        $key = $this->getCacheKey($path);

        $this->data[$key] = $value;

        return $this;
    }
1025367
public function set( $path, $value = null )
    {
        if ( is_null( $value ) ) {
            return $this->delete( $path );
        }

        $path = str_replace( '/', '.', $path );
        $keys = explode( ".", $path );

        $copy = $this->_value;

        $array = &$copy;

        foreach ( $keys as $key ) {
            if ( ! isset( $array[ $key ] ) ) {
                $array[ $key ] = '';
            }

            $array = &$array[ $key ];
        }

        $array = $value;

        $this->update( $copy );

        return $value;
    }
548282
public static function set(array &$array, string $path, $value): void
    {
        $paths = explode('.', $path);
        $temp = &$array;
        while ($key = array_shift($paths)) {
            $temp = &$temp[$key];
        }
        $temp = $value;
    }
845921
public function set($path, $value)
    {
        $parts = explode('.', $path);
        switch (count($parts)) {
            case 2:
                $this->_data[$parts[0]][$parts[1]] = $value;
                break;
            case 1:
                $this->_data[$parts[0]] = $value;
                break;
            case 0:
                throw new RuntimeException('Path was empty.');
            default:
                throw new RuntimeException('Too many parts in path.');
        }
    }
827467
public function setPath($path)
	{
		$path = trim($path, '/');

		if (strlen($path) > 0)
		{
			$this->_path = '/' . $path . '/';
		}
		else
		{
			$this->_path = '/';
		}

		if ($this->_urlsInited)
		{
			$this->_initUrls();
		}
	}
998297
public function set($path, $value)
    {
        parent::set($path, $value);

        $this->save();

        return $this;
    }