config[$name] = $value; //Success return true; } /** * Get a configuration value * * @param String $name The name of the required value * @return Mixed False if the value doesn't exists otherwise the value is returned */ public function get($name){ if(isset($this->config[$name])) return $this->config[$name]; else return false; // The value doesn't exists } }