lithium\core\Configuration::set()

public method

Sets configurations for a particular adaptable implementation, or returns the current configuration settings.

Parameters

  • string $name

    Name of the scope.

  • array $config

    Configuration to set.

Source

	public function set($name = null, $config = null) {
		if (is_array($config)) {
			$this->_configurations[$name] = $config;
			return;
		}
		if ($config === false) {
			unset($this->_configurations[$name]);
		}
	}