Use JSON as file format

This commit is contained in:
grandeljay 2022-06-09 09:18:03 +02:00
parent 098c1c3783
commit 115c6eb385

View file

@ -33,7 +33,7 @@ class Cache
protected function getFilepath(): string protected function getFilepath(): string
{ {
return $this->directory . '/' . $this->getIdentifier(); return $this->directory . '/' . $this->getIdentifier() . '.json';
} }
protected function write(mixed $value): void protected function write(mixed $value): void