改名
This commit is contained in:
@@ -147,7 +147,6 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
|||||||
} else {
|
} else {
|
||||||
$this->_relation = Context::getContext(Relation::class);
|
$this->_relation = Context::getContext(Relation::class);
|
||||||
}
|
}
|
||||||
var_dump(__METHOD__);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -154,10 +154,10 @@ class BaseObject implements Configure
|
|||||||
*/
|
*/
|
||||||
public function __call(string $name, array $arguments): mixed
|
public function __call(string $name, array $arguments): mixed
|
||||||
{
|
{
|
||||||
|
var_dump(get_called_class() . '::' . $name);
|
||||||
if (!Snowflake::app()->has('aop')) {
|
if (!Snowflake::app()->has('aop')) {
|
||||||
return call_user_func([$this, $name], $arguments);
|
return call_user_func([$this, $name], $arguments);
|
||||||
}
|
}
|
||||||
var_dump(get_called_class() . '::' . $name);
|
|
||||||
return \aop([$this, $name], $arguments);
|
return \aop([$this, $name], $arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user