protected function saveObject(\JsonSerializable $object) { file_put_contents($this->getFilename(), json_encode($object)); $this->file_modification_time = filemtime($this->getFilename()); }