src/Settings/HasSettings.php
public function setSettingsByRequest()
    {
        $allAllowedSettings = array_keys($this->allSettings()->toArray());

        return $this->settings()->set(request()->only($allAllowedSettings));
    }
public function setSettingsByRequest()
    {
        $allAllowedSettings = array_keys($this->allSettings()->toArray());

        return $this->settings()->set(request()->only($allAllowedSettings));
    }
public function setSettingsByRequest ( ) { $ allAllowedSettings = array_keys ( $ this -> allSettings ( ) -> toArray ( ) ) ; return $ this -> settings ( ) -> set ( request ( ) -> only ( $ allAllowedSettings ) ) ; }
Set all allowed settings by Request.

@return \LaravelPropertyBag\Settings\Settings
Set all allowed settings by Request .