From e5fa034d8c455eeb883e44e32d94f7fc6f09aca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 8 Sep 2020 01:30:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Abstracts/BaseObject.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/System/Abstracts/BaseObject.php b/System/Abstracts/BaseObject.php index 2fb32e74..5b2415a2 100644 --- a/System/Abstracts/BaseObject.php +++ b/System/Abstracts/BaseObject.php @@ -88,18 +88,18 @@ class BaseObject implements Configure * @return mixed * @throws Exception */ - public function __call($name, $arguments) - { - if (!method_exists($this, $name)) { - throw new Exception("Not find " . get_called_class() . "::($name)"); - } else { - $result = $this->$name(...$arguments); - if (method_exists($this, 'defer')) { - $this->defer(); - } - return $result; - } - } +// public function __call($name, $arguments) +// { +// if (!method_exists($this, $name)) { +// throw new Exception("Not find " . get_called_class() . "::($name)"); +// } else { +// $result = $this->$name(...$arguments); +// if (method_exists($this, 'defer')) { +// $this->defer(); +// } +// return $result; +// } +// } /** * @param $message