From 2f7a6abe9af361788b31572b144688dc8ab69783 Mon Sep 17 00:00:00 2001 From: "Bruno O. Notario" Date: Sat, 7 Aug 2021 21:09:06 -0300 Subject: [PATCH] Added generic stdClass Make stdClass compatible with namespace --- system/stdclass/autoload.php | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 system/stdclass/autoload.php diff --git a/system/stdclass/autoload.php b/system/stdclass/autoload.php new file mode 100644 index 0000000..cb77108 --- /dev/null +++ b/system/stdclass/autoload.php @@ -0,0 +1,39 @@ +$name; + } + + /** + * @param string $name + * @param mixed $value + * @return void + */ + public function __set($name, $value) + { + $this->$name = $value; + } +} \ No newline at end of file