public function delete($key) { $fileName = $this->getFileName($key); if (file_exists($fileName)) { unlink($fileName); } return true; }