src/Settings/Manager.php
public function add($name, $value)
    {
        $setting = $this->getPath($name);
        $key     = $this->getClassName($name);

        // If the current key doesn't exist in the settings array, set it up
        if (!array_key_exists($name, $this->settings)) {
            $this->settings[$key] = new $setting();
        }

        $this->settings[$key]->add($value);
    }
public function add($name, $value)
    {
        $setting = $this->getPath($name);
        $key     = $this->getClassName($name);

        // If the current key doesn't exist in the settings array, set it up
        if (!array_key_exists($name, $this->settings)) {
            $this->settings[$key] = new $setting();
        }

        $this->settings[$key]->add($value);
    }
public function add ( $ name , $ value ) { $ setting = $ this -> getPath ( $ name ) ; $ key = $ this -> getClassName ( $ name ) ; // If the current key doesn't exist in the settings array, set it up if ( ! array_key_exists ( $ name , $ this -> settings ) ) { $ this -> settings [ $ key ] = new $ setting ( ) ; } $ this -> settings [ $ key ] -> add ( $ value ) ; }
Add a setting

@param string $name
@param mixed  $value
Add a setting