改名
This commit is contained in:
@@ -88,18 +88,18 @@ class BaseObject implements Configure
|
|||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function __call($name, $arguments)
|
// public function __call($name, $arguments)
|
||||||
{
|
// {
|
||||||
if (!method_exists($this, $name)) {
|
// if (!method_exists($this, $name)) {
|
||||||
throw new Exception("Not find " . get_called_class() . "::($name)");
|
// throw new Exception("Not find " . get_called_class() . "::($name)");
|
||||||
} else {
|
// } else {
|
||||||
$result = $this->$name(...$arguments);
|
// $result = $this->$name(...$arguments);
|
||||||
if (method_exists($this, 'defer')) {
|
// if (method_exists($this, 'defer')) {
|
||||||
$this->defer();
|
// $this->defer();
|
||||||
}
|
// }
|
||||||
return $result;
|
// return $result;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $message
|
* @param $message
|
||||||
|
|||||||
Reference in New Issue
Block a user