src/mako/config/Config.php
public function set(string $key, $value): void
	{
		[$file] = $this->parseKey($key);

		if(!isset($this->configuration[$file]))
		{
			$this->load($file);
		}

		Arr::set($this->configuration, $key, $value);
	}
public function set(string $key, $value): void
	{
		[$file] = $this->parseKey($key);

		if(!isset($this->configuration[$file]))
		{
			$this->load($file);
		}

		Arr::set($this->configuration, $key, $value);
	}
public function set ( string $ key , $ value ) : void { [ $ file ] = $ this -> parseKey ( $ key ) ; if ( ! isset ( $ this -> configuration [ $ file ] ) ) { $ this -> load ( $ file ) ; } Arr :: set ( $ this -> configuration , $ key , $ value ) ; }
Sets a config value.

@param string $key   Config key
@param mixed  $value Config value
Sets a config value .