Skip to content

Commit 3e66725

Browse files
authored
Update Config.php add getUID
1 parent f932c8c commit 3e66725

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Tqdev/PhpCrudApi/Config/Config.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ class Config implements ConfigInterface
2929
'openApiBase' => '{"info":{"title":"PHP-CRUD-API","version":"1.0.0"}}',
3030
'geometrySrid' => 4326,
3131
];
32-
32+
33+
public function getUID(): string
34+
{
35+
return md5(json_encode($this->values));
36+
}
37+
3338
private function getDefaultDriver(array $values): string
3439
{
3540
if (isset($values['driver'])) {

0 commit comments

Comments
 (0)