This commit is contained in:
2021-04-27 19:00:38 +08:00
parent 1410bb4721
commit ecb44c8cb0
+3
View File
@@ -844,6 +844,9 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
{
$value = $this->_attributes[$name] ?? null;
$method = $this->_get_annotation($name, static::GET);
var_dump($method);
if (!empty($method)) {
return $this->{$method}($value);
}