modify
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user