public function put(RequestCollection $data) { $this->createDirectoryIfNotExists(); $content = $this->prepareContent($data->onlyNotMarkedToDelete()); $this->files->put($this->getFilePath(), $content); }