public function setFromRequest($settings)
    {
        $this->removeTokenKey($settings);

        foreach ($settings as $settingName => $settingValues) {
            $this->set($settingName, $settingValues);
        }
    }
public function setFromRequest($settings)
    {
        $this->removeTokenKey($settings);

        foreach ($settings as $settingName => $settingValues) {
            $this->set($settingName, $settingValues);
        }
    }
public function setFromRequest ( $ settings ) { $ this -> removeTokenKey ( $ settings ) ; foreach ( $ settings as $ settingName => $ settingValues ) { $ this -> set ( $ settingName , $ settingValues ) ; } }
Set multiple given configuration values from a request.

@param mixed $settings

@return void
Set multiple given configuration values from a request .