This commit is contained in:
2021-03-29 16:24:05 +08:00
parent 9e1a156bca
commit c1d37ce826
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -154,10 +154,10 @@ class BaseObject implements Configure
*/
public function __call(string $name, array $arguments): mixed
{
var_dump(get_called_class() . '::' . $name);
if (!Snowflake::app()->has('aop')) {
return call_user_func([$this, $name], $arguments);
}
var_dump(get_called_class() . '::' . $name);
return \aop([$this, $name], $arguments);
}