reload data

This commit is contained in:
Fred Tempez 2022-03-24 18:39:36 +01:00
parent 6e2b089ee8
commit f2a324e7f1

View File

@ -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
*