Browse Source

reload data

12_dev
Fred Tempez 5 months ago
parent
commit
f2a324e7f1
  1. 10
      core/class/jsondb/JsonDb.class.php

10
core/class/jsondb/JsonDb.class.php

@ -31,6 +31,16 @@ class JsonDb extends \Prowebcraft\Dot
parent::__construct();
}
/**
* Reload data from file
* @return $this
*/
public function reload()
{
$this->loadData(true);
return $this;
}
/**
* Set value or array of values to path
*

Loading…
Cancel
Save