App\Services\Setting\Setting::update PHP Метод

update() публичный Метод

Update setting items, and store in driver.
public update ( )
    public function update()
    {
        foreach ($this->changed as $key => $value) {
            DB::table('settings')->where('key', $key)->update(['value' => $value]);
        }
        array_replace($this->items, $this->changed);
    }