Added reactiveKey. Updated README

This commit is contained in:
asantibanez
2020-10-19 10:29:23 -05:00
parent 23d20afd84
commit f9c05f5b4b
5 changed files with 82 additions and 5 deletions

View File

@@ -96,4 +96,8 @@ class PieChartModel
$this->data = collect(data_get($array, 'data', []));
}
public function reactiveKey()
{
return md5(json_encode($this->toArray()));
}
}