This commit is contained in:
as2252258@163.com
2021-04-24 19:36:32 +08:00
parent 5c2dd1873a
commit 788ec28ee9
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -853,6 +853,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
$loader = Snowflake::app()->getAnnotation();
if (!empty($method = $loader->getGetMethodName(get_called_class(), $name))) {
var_dump(get_called_class() . '::' . $method);
return $this->{$method}();
}
if (array_key_exists($name, $this->_attributes)) {