This commit is contained in:
2021-03-04 15:41:19 +08:00
parent 8580a62fd0
commit 3dd0abfc0e
+1
View File
@@ -858,6 +858,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
{
$value = $this->_attributes[$name] ?? null;
if ($this->hasAnnotation($name)) {
var_dump($name, $value);
return $this->runAnnotation($name, $value);
}
if (array_key_exists($name, $this->_attributes)) {