reload data
This commit is contained in:
parent
6e2b089ee8
commit
f2a324e7f1
@ -31,6 +31,16 @@ class JsonDb extends \Prowebcraft\Dot
|
|||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reload data from file
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function reload()
|
||||||
|
{
|
||||||
|
$this->loadData(true);
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set value or array of values to path
|
* Set value or array of values to path
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user