From f073fe5913f0be9885056da769f97fb23ac33b62 Mon Sep 17 00:00:00 2001 From: Karson Date: Wed, 30 Apr 2025 17:28:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=BB=98=E8=AE=A4File?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/library/File.php | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 application/common/library/File.php diff --git a/application/common/library/File.php b/application/common/library/File.php new file mode 100644 index 00000000..8a82aeef --- /dev/null +++ b/application/common/library/File.php @@ -0,0 +1,32 @@ +info[$offset]); + } + + public function offsetGet($offset) + { + return $this->info[$offset]; + } + + public function offsetSet($offset, $value) + { + $this->info[$offset] = $value; + } + + public function offsetUnset($offset) + { + unset($this->info[$offset]); + } +} \ No newline at end of file