public function set($name, $value, $scope = null)
    {
        if (strpos($name, ':')) {
            list($entry, $name) = explode(':', $name);
            $cfg = $this->getConfig($entry, array(), $scope);
            $cfg[$name] = $value;
            return $this->setConfig($entry, $cfg, $scope);
        } else {
            return $this->setConfig($name, $value, $scope);
        }
    }
public function set($name, $value, $scope = null)
    {
        if (strpos($name, ':')) {
            list($entry, $name) = explode(':', $name);
            $cfg = $this->getConfig($entry, array(), $scope);
            $cfg[$name] = $value;
            return $this->setConfig($entry, $cfg, $scope);
        } else {
            return $this->setConfig($name, $value, $scope);
        }
    }
public function set ( $ name , $ value , $ scope = null ) { if ( strpos ( $ name , ':' ) ) { list ( $ entry , $ name ) = explode ( ':' , $ name ) ; $ cfg = $ this -> getConfig ( $ entry , array ( ) , $ scope ) ; $ cfg [ $ name ] = $ value ; return $ this -> setConfig ( $ entry , $ cfg , $ scope ) ; } else { return $ this -> setConfig ( $ name , $ value , $ scope ) ; } }
Set the value of a specific option with depth

@param   string  $name   The index of the configuration value to get, with a scope using notation `index:name`
@param   mixed   $value  The value to set for $name
@param   string  $scope  The scope to use in the configuration registry if it is not defined in the `$name` parameter
@return  self
Set the value of a specific option with depth