public function update(array $settings)
    {
        foreach ($settings as $key => $value) {
            $this->getSettingOrFail($key);
        }

        $this->backend->setSettings($settings);
    }
public function update(array $settings)
    {
        foreach ($settings as $key => $value) {
            $this->getSettingOrFail($key);
        }

        $this->backend->setSettings($settings);
    }
public function update ( array $ settings ) { foreach ( $ settings as $ key => $ value ) { $ this -> getSettingOrFail ( $ key ) ; } $ this -> backend -> setSettings ( $ settings ) ; }
Update multiple settings at once. It's OK to pass settings that have no values yet

@param array $settings Pass key/value pairs
@throws UnregisteredSettingException
Update multiple settings at once . It s OK to pass settings that have no values yet