Source/SimpleBase.php
public function processConfig($config = array())
    {
        foreach (array_keys($config) as $setting) {
            if (array_key_exists($setting, $this->settings)) {
                $prop = $this->settings[$setting];
                $this->$prop = $config[$setting];
            }
        }
    }
public function processConfig($config = array())
    {
        foreach (array_keys($config) as $setting) {
            if (array_key_exists($setting, $this->settings)) {
                $prop = $this->settings[$setting];
                $this->$prop = $config[$setting];
            }
        }
    }
public function processConfig ( $ config = array ( ) ) { foreach ( array_keys ( $ config ) as $ setting ) { if ( array_key_exists ( $ setting , $ this -> settings ) ) { $ prop = $ this -> settings [ $ setting ] ; $ this -> $ prop = $ config [ $ setting ] ; } } }
Set config options

@param array $config Array with config options

@return void
Set config options