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