lithium\core\Configuration::set PHP Method

set() public method

Sets configurations for a particular adaptable implementation, or returns the current configuration settings.
public set ( string $name = null, array $config = null )
$name string Name of the scope.
$config array Configuration to set.
    public function set($name = null, $config = null)
    {
        if (is_array($config)) {
            $this->_configurations[$name] = $config;
            return;
        }
        if ($config === false) {
            unset($this->_configurations[$name]);
        }
    }
Configuration